summaryrefslogtreecommitdiff
path: root/include/configs/TQM5200.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-03-25 00:12:54 +0100
committerWolfgang Denk <wd@denx.de>2008-03-25 00:12:54 +0100
commitb38d7fc2f1d27957a810950f07c27f2be353f50f (patch)
treeb947276514cda8100cfef630f624e563378cbca3 /include/configs/TQM5200.h
parent55774b512fdf63c0516d441cc5da7c54bbffb7f2 (diff)
parent47310715f4316a3677b206acf9f83adb7949ecd1 (diff)
downloadu-boot-imx-b38d7fc2f1d27957a810950f07c27f2be353f50f.zip
u-boot-imx-b38d7fc2f1d27957a810950f07c27f2be353f50f.tar.gz
u-boot-imx-b38d7fc2f1d27957a810950f07c27f2be353f50f.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/master/
Diffstat (limited to 'include/configs/TQM5200.h')
-rw-r--r--include/configs/TQM5200.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 9a0e9b8..b36c826 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -252,12 +252,22 @@
"setup=tftp 200000 cam5200/setup.img; autoscr 200000\0"
#endif
+#if defined(CONFIG_TQM5200_B)
+#define ENV_FLASH_LAYOUT \
+ "fdt_addr=FC100000\0" \
+ "kernel_addr=FC140000\0" \
+ "ramdisk_addr=FC600000\0"
+#else /* !CONFIG_TQM5200_B */
+#define ENV_FLASH_LAYOUT \
+ "fdt_addr=FC0A0000\0" \
+ "kernel_addr=FC0C0000\0" \
+ "ramdisk_addr=FC300000\0"
+#endif
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"console=ttyPSC0\0" \
- "fdt_addr=FC0A0000\0" \
- "kernel_addr=FC0C0000\0" \
- "ramdisk_addr=FC300000\0" \
+ ENV_FLASH_LAYOUT \
"kernel_addr_r=400000\0" \
"fdt_addr_r=600000\0" \
"rootpath=/opt/eldk/ppc_6xx\0" \
@@ -400,8 +410,9 @@
# if defined(CONFIG_TQM5200_B)
# if defined(CFG_LOWBOOT)
# define MTDPARTS_DEFAULT "mtdparts=TQM5200-0:1m(firmware)," \
- "1536k(kernel)," \
- "3584k(small-fs)," \
+ "256k(dtb)," \
+ "2304k(kernel)," \
+ "2560k(small-fs)," \
"2m(initrd)," \
"8m(misc)," \
"16m(big-fs)"