From: Stephen Warren Date: Thu, 23 Jan 2014 20:17:05 +0000 (-0700) Subject: ARM: tegra: clear $usb_need_init each boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09266b270fb8bba934317d2d5a22063ac45bf960;p=project%2Fbcm63xx%2Fu-boot.git ARM: tegra: clear $usb_need_init each boot $usb_need_init prevents "usb start" from being run multiple times for each boot attempt, i.e. once for USB storage, another for PXE, and another for DHCP. However, the flag that's used to determine when to run "usb start" is never cleared, so a subsequent "boot" command will never probe for a freshly plugged in USB device. Fix this so that new USB devices will be probed once per boot attempt. Signed-off-by: Stephen Warren Signed-off-by: Tom Warren --- diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h index 020b9b17b1..e1a3bbc626 100644 --- a/include/configs/tegra-common-post.h +++ b/include/configs/tegra-common-post.h @@ -99,6 +99,7 @@ BOOTCMDS_DHCP #define CONFIG_BOOTCOMMAND \ + "set usb_need_init; " \ "for target in ${boot_targets}; do run bootcmd_${target}; done" #endif