diff options
author | Heiko Schocher <hs@pollux.denx.de> | 2007-01-18 11:28:51 +0100 |
---|---|---|
committer | Heiko Schocher <hs@pollux.denx.de> | 2007-01-18 11:28:51 +0100 |
commit | cb4820725e9fc409c5cbc8e83054a6ed522d2111 (patch) | |
tree | 52c0972ffd2bc7a66e229ebb9ebcff9d9cb248ff /cpu/ppc4xx/cpu_init.c | |
parent | 6d3e0107235aa0e6a6dcb77f9884497280bf85ad (diff) | |
download | u-boot-imx-cb4820725e9fc409c5cbc8e83054a6ed522d2111.zip u-boot-imx-cb4820725e9fc409c5cbc8e83054a6ed522d2111.tar.gz u-boot-imx-cb4820725e9fc409c5cbc8e83054a6ed522d2111.tar.bz2 |
[PATCH] Fix: Compilerwarnings for SC3 board.
The EBC Configuration Register is now by CFG_EBC_CFG definable
Added JFFS2 support for the SC3 board.
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cpu/ppc4xx/cpu_init.c')
-rw-r--r-- | cpu/ppc4xx/cpu_init.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpu/ppc4xx/cpu_init.c b/cpu/ppc4xx/cpu_init.c index e2aa867..ae24591 100644 --- a/cpu/ppc4xx/cpu_init.c +++ b/cpu/ppc4xx/cpu_init.c @@ -313,9 +313,8 @@ cpu_init_f (void) mtebc(pb7cr, CFG_EBC_PB7CR); #endif -#if defined (CONFIG_SOLIDCARD3) - mtebc(epcr, 0xb84ef000); - *(unsigned long *)0x79000080 = 0x0001; +#if defined (CFG_EBC_CFG) + mtebc(epcr, CFG_EBC_CFG); #endif #if defined(CONFIG_WATCHDOG) |