summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-01-23 13:17:05 -0700
committerTom Warren <twarren@nvidia.com>2014-02-03 09:46:44 -0700
commit09266b270fb8bba934317d2d5a22063ac45bf960 (patch)
treef330e2394e012b489ff91d3d9df643f7af761908 /include/configs
parentb9b53a60ae1148fa478c21f19fe89b8991ef0692 (diff)
downloadu-boot-imx-09266b270fb8bba934317d2d5a22063ac45bf960.zip
u-boot-imx-09266b270fb8bba934317d2d5a22063ac45bf960.tar.gz
u-boot-imx-09266b270fb8bba934317d2d5a22063ac45bf960.tar.bz2
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 <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tegra-common-post.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/tegra-common-post.h b/include/configs/tegra-common-post.h
index 020b9b1..e1a3bbc 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