diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2015-08-10 16:52:58 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-28 12:33:20 -0400 |
commit | bf0385d7f06ef8781d3bb9b645dcd9c25d212fde (patch) | |
tree | 7704ab334074e4598bff8f660044d1ef6603c7b3 /include/configs | |
parent | 03c128c949f405d6218f46adc7ef94a998770efa (diff) | |
download | u-boot-imx-bf0385d7f06ef8781d3bb9b645dcd9c25d212fde.zip u-boot-imx-bf0385d7f06ef8781d3bb9b645dcd9c25d212fde.tar.gz u-boot-imx-bf0385d7f06ef8781d3bb9b645dcd9c25d212fde.tar.bz2 |
include: configs: am43xx_evm: add 'usb stop' in usbboot env
The usbboot environment variable has 'usb start' command but
doesn't have the corresponding 'usb stop' command. This breaks
usb peripheral mode if tried after 'run usbboot' fails to load
the images in usb host mode.
Fix it here by adding 'usb stop' command in usbboot env.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/am43xx_evm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index d148169..15fa3e3 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -292,6 +292,8 @@ "bootz ${loadaddr} - ${fdtaddr}; " \ "fi;" \ "fi\0" \ + "fi;" \ + "usb stop ${usbdev};\0" \ "findfdt="\ "if test $board_name = AM43EPOS; then " \ "setenv fdtfile am43x-epos-evm.dtb; fi; " \ |