summaryrefslogtreecommitdiff
path: root/include/configs/km/km83xx-common.h
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-07-04 21:52:52 +0000
committerWolfgang Denk <wd@denx.de>2011-07-27 23:43:33 +0200
commitb648bfc212c0e62dae47b8f09a0c4e49bbd89106 (patch)
tree36a4688fbcf68ff9fde05fdc20057cc654b31701 /include/configs/km/km83xx-common.h
parent0333cfe618eb3ba8ce1001106bf5c3b9fe9af36e (diff)
downloadu-boot-imx-b648bfc212c0e62dae47b8f09a0c4e49bbd89106.zip
u-boot-imx-b648bfc212c0e62dae47b8f09a0c4e49bbd89106.tar.gz
u-boot-imx-b648bfc212c0e62dae47b8f09a0c4e49bbd89106.tar.bz2
km/common: simplify debug environment
The debug environment which is stored in textfiles in the scripts directory was reworked. Two usecase are now present which can be executed simply from the default environment: run develop: this configures the environment to setup the rootfs via nfs run ramfs: this configures the environment to setup the rootfs in ram Each architecture now has a "arch" variable which is used to load the architecture specific debug scripts and to set the rootpath for NFS. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs/km/km83xx-common.h')
-rw-r--r--include/configs/km/km83xx-common.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h
index 85b6ed2..2b1a84a 100644
--- a/include/configs/km/km83xx-common.h
+++ b/include/configs/km/km83xx-common.h
@@ -302,14 +302,13 @@
#define CONFIG_KM_DEF_ENV "km-common=empty\0"
#endif
-#ifndef CONFIG_KM_DEF_ROOTPATH
-#define CONFIG_KM_DEF_ROOTPATH \
- "rootpath=/opt/eldk/ppc_82xx\0"
+#ifndef CONFIG_KM_DEF_ARCH
+#define CONFIG_KM_DEF_ARCH "arch=ppc_82xx\0"
#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_KM_DEF_ENV \
- CONFIG_KM_DEF_ROOTPATH \
+ CONFIG_KM_DEF_ARCH \
"dtt_bus=pca9547:70:a\0" \
"EEprom_ivm=pca9547:70:9\0" \
"newenv=" \