summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguoyin.chen <guoyin.chen@nxp.com>2017-09-07 21:32:35 +0800
committerguoyin.chen <guoyin.chen@nxp.com>2017-09-07 21:45:12 +0800
commitfabf1d86bc7b8e04d540f8c51c0439d5c1ec6e82 (patch)
tree56ec0559aab5ea4c34c202be0557a6726f79a348
parent3795e87172103f383569e1710d8feefd46fcccf7 (diff)
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>
-rwxr-xr-xdrivers/usb/gadget/f_fastboot.c3
1 files changed, 3 insertions, 0 deletions
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");
}
}