Skip to content

Commit

Permalink
ppc4xx: Update lwmon5 POST configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Roese <[email protected]>
  • Loading branch information
stroese committed Aug 10, 2007
1 parent 29cb25d commit 3e4c90c
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions include/configs/lwmon5.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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" \
Expand Down Expand Up @@ -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 | \
Expand Down

0 comments on commit 3e4c90c

Please sign in to comment.