summaryrefslogtreecommitdiff
path: root/common/environment.c
diff options
context:
space:
mode:
authorstroese <stroese>2003-02-14 11:21:23 +0000
committerstroese <stroese>2003-02-14 11:21:23 +0000
commitad10dd9aaf573fefe1cbd9d446a24f07f8b87428 (patch)
treeed9676dd2921f05a3faf4ed97c416ac204e29c0d /common/environment.c
parente5ad56b13bc0d9e67f58c6021d0663a14cafce31 (diff)
downloadu-boot-imx-ad10dd9aaf573fefe1cbd9d446a24f07f8b87428.zip
u-boot-imx-ad10dd9aaf573fefe1cbd9d446a24f07f8b87428.tar.gz
u-boot-imx-ad10dd9aaf573fefe1cbd9d446a24f07f8b87428.tar.bz2
Add "pcidelay" environment variable (in ms, enabled via CONFIG_PCI_BOOTDELAY).
Diffstat (limited to 'common/environment.c')
-rw-r--r--common/environment.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/environment.c b/common/environment.c
index 1df3872..244c2a2 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -164,6 +164,9 @@ env_t environment __PPCENV__ = {
#ifdef CONFIG_CLOCKS_IN_MHZ
"clocks_in_mhz=" "1" "\0"
#endif
+#if defined(CONFIG_PCI_BOOTDELAY) && (CONFIG_PCI_BOOTDELAY > 0)
+ "pcidelay=" MK_STR(CONFIG_PCI_BOOTDELAY) "\0"
+#endif
#ifdef CONFIG_EXTRA_ENV_SETTINGS
CONFIG_EXTRA_ENV_SETTINGS
#endif