From aa7609213b2e9ee6bbec784f7dbf9799fce62ffc Mon Sep 17 00:00:00 2001
From: "guoyin.chen" <guoyin.chen@nxp.com>
Date: Thu, 7 Sep 2017 21:32:35 +0800
Subject: [PATCH] MA-10167 Add soc_type to be imx8mq to align the
 init.imx8mq.rc

It will be used by android init to load the init.imx8mq.rc

Change-Id: Id157cfe6952c9ccf4021d9098e25d9e9d545859f
Signed-off-by: guoyin.chen <guoyin.chen@nxp.com>
---
 drivers/usb/gadget/f_fastboot.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/usb/gadget/f_fastboot.c b/drivers/usb/gadget/f_fastboot.c
index ef1eae6c85..ce8ea9bdd7 100755
--- a/drivers/usb/gadget/f_fastboot.c
+++ b/drivers/usb/gadget/f_fastboot.c
@@ -1788,6 +1788,9 @@ void board_fastboot_setup(void)
 	} else if (is_imx8qxp()) {
 		if (!getenv("soc_type"))
 			setenv("soc_type", "imx8qxp");
+	} else if (is_imx8m()) {
+		if (!getenv("soc_type"))
+			setenv("soc_type", "imx8mq");
 	}
 }
 
-- 
GitLab