diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-09-15 15:04:39 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-10-04 19:31:23 +0200 |
commit | 81c4eccb55ccbe4a7bb4016b23738c3c57dc364d (patch) | |
tree | aa0ed13b636b8be8c5ee08c774991d7363f3f8c4 | |
parent | 55a42b33f2e9b9f6330396fc6d89878a5deacc75 (diff) | |
download | u-boot-imx-81c4eccb55ccbe4a7bb4016b23738c3c57dc364d.zip u-boot-imx-81c4eccb55ccbe4a7bb4016b23738c3c57dc364d.tar.gz u-boot-imx-81c4eccb55ccbe4a7bb4016b23738c3c57dc364d.tar.bz2 |
imx: mx6: fix USB bmode to use reserved value
Currently the bmode "usb" uses BOOT_CFG1 to 0x01, -which means
BOOT_CFG1[7:4] is set to b0000. According to Table 8-7 Boot
Device Selection this is NOR/OneNAND and not Reserved.
Use 0x10 which leads to b0001, which is a Reserved boot device.
With that the SoC reliably falls back to the serial loader.
Cc: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Tested-by: Troy Kisky <troy.kisky@boundarydevices.com>
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 2 |
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 bc3e634..09f2b02 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -514,7 +514,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(0x01, 0x00, 0x00, 0x00)}, + {"usb", MAKE_CFGVAL(0x10, 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)}, |