summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2007-10-29 13:57:53 -0500
committerJon Loeliger <jdl@freescale.com>2007-11-07 14:09:08 -0600
commit1815338fbd1c0f94f8276d2891b99caa5a05f622 (patch)
tree0e276443bf5db3e277248bad878d614021ff233e /include/configs
parent761421ccca80a9fb37b19c37aa61d46ef75e0647 (diff)
downloadu-boot-imx-1815338fbd1c0f94f8276d2891b99caa5a05f622.zip
u-boot-imx-1815338fbd1c0f94f8276d2891b99caa5a05f622.tar.gz
u-boot-imx-1815338fbd1c0f94f8276d2891b99caa5a05f622.tar.bz2
8610: Make some extra debug environment variables conditional.
One may #define ENV_DEBUG to get them back again. Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/MPC8610HPCD.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/include/configs/MPC8610HPCD.h b/include/configs/MPC8610HPCD.h
index 8b6b117..9fa42f3 100644
--- a/include/configs/MPC8610HPCD.h
+++ b/include/configs/MPC8610HPCD.h
@@ -587,7 +587,7 @@
"dma3=mw ${d}284 ffffffff;mw ${d}290 50000;mw ${d}294 $sad3;mw ${d}298 50000;"\
"mw ${d}2a0 $bc3;mw ${d}280 f03c404; mw ${d}29c $dad3; md ${d}280 9\0"
-
+#ifdef ENV_DEBUG
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"uboot=" MK_STR(CONFIG_UBOOTPATH) "\0" \
@@ -632,6 +632,17 @@
PCI_ENV \
PCIE_ENV \
DMA_ENV
+#else
+#define CONFIG_EXTRA_ENV_SETTINGS \
+ "netdev=eth0\0" \
+ "uboot=" MK_STR(CONFIG_UBOOTPATH) "\0" \
+ "consoledev=ttyS0\0" \
+ "ramdiskaddr=2000000\0" \
+ "ramdiskfile=8610hpcd/ramdisk.uboot\0" \
+ "dtbaddr=c00000\0" \
+ "dtbfile=8610hpcd/mpc8610_hpcd.dtb\0" \
+ "bdev=sda3\0"
+#endif
#define CONFIG_NFSBOOTCOMMAND \
"setenv bootargs root=/dev/nfs rw " \