summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-05-08 01:25:19 -0500
committerYe Li <ye.li@nxp.com>2017-05-08 01:25:19 -0500
commiteacd50f370203218a8e96c28c8a7adc0b638fc6d (patch)
treef30ae4ea40289576c29cb5364a43a2d8666bee8c /arch
parent58e7ec10c0329d25aafe2f857417d48af9bc7ef3 (diff)
downloadu-boot-imx-eacd50f370203218a8e96c28c8a7adc0b638fc6d.zip
u-boot-imx-eacd50f370203218a8e96c28c8a7adc0b638fc6d.tar.gz
u-boot-imx-eacd50f370203218a8e96c28c8a7adc0b638fc6d.tar.bz2
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 <ye.li@nxp.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index b76d9a9..091ce51 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -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)},