summaryrefslogtreecommitdiff
path: root/include/configs/tegra-common-post.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2014-01-23 20:17:05 (GMT)
committerTom Warren <twarren@nvidia.com>2014-02-03 16:46:44 (GMT)
commit09266b270fb8bba934317d2d5a22063ac45bf960 (patch)
treef330e2394e012b489ff91d3d9df643f7af761908 /include/configs/tegra-common-post.h
parentb9b53a60ae1148fa478c21f19fe89b8991ef0692 (diff)
downloadu-boot-fsl-qoriq-09266b270fb8bba934317d2d5a22063ac45bf960.tar.xz
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/tegra-common-post.h')
-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