summaryrefslogtreecommitdiff
path: root/board/keymile/scripts/debug-ppc-env.txt
diff options
context:
space:
mode:
authorHolger Brunck <holger.brunck@keymile.com>2011-05-04 01:47:34 +0000
committerWolfgang Denk <wd@denx.de>2011-05-18 23:03:22 +0200
commit2d9528e32fa0a05d2b170a23fb445f83d4d26571 (patch)
tree688d44cc51a69ab0f5e6129ce0d96635bd13aeb4 /board/keymile/scripts/debug-ppc-env.txt
parent92c91080e41b36146985fc6d5bf9d35bb162d034 (diff)
downloadu-boot-imx-2d9528e32fa0a05d2b170a23fb445f83d4d26571.zip
u-boot-imx-2d9528e32fa0a05d2b170a23fb445f83d4d26571.tar.gz
u-boot-imx-2d9528e32fa0a05d2b170a23fb445f83d4d26571.tar.bz2
km/common: simplify default environment
This is a first step to simplify the default environment. Move all the environment variables which are only needed for debugging purpose to textfiles in the scripts directory. In case of debugging these files can be loaded via tftp into RAM and set via the env import command. Other variables are identified as obsolete and were removed. Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Acked-by: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'board/keymile/scripts/debug-ppc-env.txt')
-rw-r--r--board/keymile/scripts/debug-ppc-env.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/keymile/scripts/debug-ppc-env.txt b/board/keymile/scripts/debug-ppc-env.txt
new file mode 100644
index 0000000..3c06ff1
--- /dev/null
+++ b/board/keymile/scripts/debug-ppc-env.txt
@@ -0,0 +1,2 @@
+debug_env_common=tftpboot 0x200000 scripts/debug-common-env.txt && env import -t 0x200000 ${filesize}
+tftpfdt=tftpboot ${fdt_addr_r} ${hostname}/${hostname}.dtb && setenv actual_fdt_addr ${fdt_addr_r}