MLK-14831 mx6: Fix wrong bmode value used for usb boot
authorYe Li <ye.li@nxp.com>
Mon, 8 May 2017 06:25:19 +0000 (01:25 -0500)
committerYe Li <ye.li@nxp.com>
Mon, 8 May 2017 06:25:19 +0000 (01:25 -0500)
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 <ye.li@nxp.com>
arch/arm/cpu/armv7/mx6/soc.c

index b76d9a9..091ce51 100644 (file)
@@ -716,7 +716,7 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
 const struct boot_mode soc_boot_modes[] = {
        {"normal",      MAKE_CFGVAL(0x00, 0x00, 0x00, 0x00)},
        /* reserved value should start rom usb */
-       {"usb",         MAKE_CFGVAL(0x10, 0x00, 0x00, 0x00)},
+       {"usb",         MAKE_CFGVAL(0x01, 0x00, 0x00, 0x00)},
        {"sata",        MAKE_CFGVAL(0x20, 0x00, 0x00, 0x00)},
        {"ecspi1:0",    MAKE_CFGVAL(0x30, 0x00, 0x00, 0x08)},
        {"ecspi1:1",    MAKE_CFGVAL(0x30, 0x00, 0x00, 0x18)},