summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-08-10 08:42:55 +0200
committerStefan Roese <sr@denx.de>2007-08-10 08:42:55 +0200
commit3e4c90c6233618fc1806e63fde68df5f3d6a0171 (patch)
tree04e9008593d36b730500f683b6898ec7e9e3a0ac
parent29cb25da56afe18cf5e7072a92a9d98ea8af1fd4 (diff)
downloadu-boot-imx-3e4c90c6233618fc1806e63fde68df5f3d6a0171.zip
u-boot-imx-3e4c90c6233618fc1806e63fde68df5f3d6a0171.tar.gz
u-boot-imx-3e4c90c6233618fc1806e63fde68df5f3d6a0171.tar.bz2
ppc4xx: Update lwmon5 POST configuration
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--include/configs/lwmon5.h21
1 files changed, 19 insertions, 2 deletions
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index 5ebe440..52db71e 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -137,10 +137,25 @@
#define CONFIG_DDR_DATA_EYE 1 /* use DDR2 optimization */
#if 0 /* test-only: disable ECC for now */
#define CONFIG_DDR_ECC 1 /* enable ECC */
+#define CFG_POST_ECC_ON CFG_POST_ECC
+#else
+#define CFG_POST_ECC_ON 0
+#endif
/* POST support */
-#define CONFIG_POST (CFG_POST_ECC)
-#endif
+#define CONFIG_POST (CFG_POST_MEMORY | \
+ CFG_POST_ECC_ON | \
+ CFG_POST_CPU | \
+ CFG_POST_UART | \
+ CFG_POST_I2C | \
+ CFG_POST_CACHE | \
+ CFG_POST_FPU | \
+ CFG_POST_ETHER | \
+ CFG_POST_SPR)
+
+#define CFG_POST_CACHE_ADDR 0x10000000 /* free virtual address */
+#define CONFIG_LOGBUFFER
+#define CFG_CONSOLE_IS_IN_ENV /* Otherwise it catches logbuffer as output */
/*-----------------------------------------------------------------------
* I2C
@@ -170,6 +185,7 @@
"hostname=lwmon5\0" \
"netdev=eth0\0" \
"unlock=yes\0" \
+ "logversion=2\0" \
"nfsargs=setenv bootargs root=/dev/nfs rw " \
"nfsroot=${serverip}:${rootpath}\0" \
"ramargs=setenv bootargs root=/dev/ram rw\0" \
@@ -244,6 +260,7 @@
CFG_CMD_EEPROM | \
CFG_CMD_ELF | \
CFG_CMD_FAT | \
+ CFG_CMD_LOG | \
CFG_CMD_I2C | \
CFG_CMD_IRQ | \
CFG_CMD_MII | \