summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-02 11:05:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-04-02 11:40:31 +0200
commita3db5ff4acdd2f2ef1c910e995ddb6989fd7b1ba (patch)
treebe2f9a59f89910bc1c4ec5053406db87377c39b7
parentbsp/gen83xx: Add sections for BSD support (diff)
downloadrtems-a3db5ff4acdd2f2ef1c910e995ddb6989fd7b1ba.tar.bz2
bsp/gen83xx: Support for MPC830X
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c
index 873c76da33..4c7ced0259 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c
+++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c
@@ -251,7 +251,11 @@ void cpu_init( void)
#else /* HAS_UBOOT */
(uint32_t) IMMRBAR,
#endif /* HAS_UBOOT */
- 1024 * 1024,
+ #if MPC83XX_CHIP_TYPE / 10 == 830
+ 2 * 1024 * 1024,
+ #else
+ 1024 * 1024,
+ #endif
false,
true,
false,