From: Kishon Vijay Abraham I Date: Mon, 10 Aug 2015 11:22:58 +0000 (+0530) Subject: include: configs: am43xx_evm: add 'usb stop' in usbboot env X-Git-Tag: v2015.10-rc3~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf0385d7f06ef8781d3bb9b645dcd9c25d212fde;p=platform%2Fkernel%2Fu-boot.git 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 Reviewed-by: Tom Rini --- 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; " \