summaryrefslogtreecommitdiff
path: root/common/usb_storage.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-12-27 16:01:42 (GMT)
committerStefano Babic <sbabic@denx.de>2017-01-27 09:40:16 (GMT)
commitac0a93fd21b815166c54b991659377f951d4d203 (patch)
treecce136945672d07791387a1f6885388ac4b1ba34 /common/usb_storage.c
parent1c3e62d690a3093d418dac267ae78b0fc0c35274 (diff)
downloadu-boot-ac0a93fd21b815166c54b991659377f951d4d203.tar.xz
imx_common: check for bmode Serial Downloader
Before commit 81c4eccb55cc ("imx: mx6: fix USB bmode to use reserved value") a non-reserved value has been used to trigger Serial Downloader using bmode, which translated to a GPR9 value of 0x10. However, on some boards the non-reserved value lead to unreliable bmode command. With the above mentioned commit, U-boot switched to use [7:4] b0001, which translates to GPR9 0x10 for Serial Downloader mode. Check for the new value and classify it as Serial Downloader mode. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> CC: Stefano Babic <sbabic@denx.de> CC: Tim Harvey <tharvey@gateworks.com> CC: Fabio Estevam <Fabio.Estevam@freescale.com> CC: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'common/usb_storage.c')
0 files changed, 0 insertions, 0 deletions