summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinhard Thies <Reinhard.Thies@web.de>2007-01-10 14:41:14 +0100
committerDetlev Zundel <dzu@denx.de>2007-01-10 16:51:05 +0100
commit6abaee42621c07e81a2cd189ad4368b5e8c50280 (patch)
tree06a4ebaaee38e8557f5ad37e02698934227a60fb
parent0350e79d2a2a07444605e5ab820e10b7eb76e5d6 (diff)
downloadblackbird-obmc-uboot-6abaee42621c07e81a2cd189ad4368b5e8c50280.tar.gz
blackbird-obmc-uboot-6abaee42621c07e81a2cd189ad4368b5e8c50280.zip
Adjusted default environment for cam5200 board.
-rw-r--r--include/configs/TQM5200.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 15906a0a37..7069b35ad6 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -231,6 +231,17 @@
"protect on FC000000 +${filesize}\0"
#endif
+#ifndef CONFIG_CAM5200
+#define CUSTOM_ENV_SETTINGS \
+ "bootfile=/tftpboot/tqm5200/uImage\0" \
+ "u-boot=/tftpboot/tqm5200/u-boot.bin\0"
+#else
+#define CUSTOM_ENV_SETTINGS \
+ "bootfile=cam5200/uImage\0" \
+ "u-boot=cam5200/u-boot.bin\0" \
+ "setup=tftp 200000 cam5200/setup.img; autoscr 200000\0"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"rootpath=/opt/eldk/ppc_6xx\0" \
@@ -248,8 +259,7 @@
"bootm ${kernel_addr}\0" \
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addcons;" \
"bootm\0" \
- "bootfile=/tftpboot/tqm5200/uImage\0" \
- "u-boot=/tftpboot/tqm5200/u-boot.bin\0" \
+ CUSTOM_ENV_SETTINGS \
"load=tftp 200000 ${u-boot}\0" \
ENV_UPDT \
""
OpenPOWER on IntegriCloud