From aed4820fa81c1da9206f946a61ff851a255c9288 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Mon, 8 May 2017 01:25:19 -0500 Subject: [PATCH] MLK-14831 mx6: Fix wrong bmode value used for usb boot Wrong bmode value is used in community u-boot for usb reboot. And cause it failed. Fix this by using a reserved bootcfg value. Signed-off-by: Ye Li (cherry picked from commit eacd50f370203218a8e96c28c8a7adc0b638fc6d) --- arch/arm/mach-imx/mx6/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c index 80ba22e408..72cde0eeb7 100644 --- a/arch/arm/mach-imx/mx6/soc.c +++ b/arch/arm/mach-imx/mx6/soc.c @@ -709,7 +709,7 @@ const struct boot_mode soc_boot_modes[] = { #if defined(CONFIG_MX6UL) || defined(CONFIG_MX6ULL) {"usb", MAKE_CFGVAL(0x20, 0x00, 0x00, 0x00)}, #else - {"usb", MAKE_CFGVAL(0x10, 0x00, 0x00, 0x00)}, + {"usb", MAKE_CFGVAL(0x01, 0x00, 0x00, 0x00)}, #endif {"sata", MAKE_CFGVAL(0x20, 0x00, 0x00, 0x00)}, {"ecspi1:0", MAKE_CFGVAL(0x30, 0x00, 0x00, 0x08)},