[rtems commit] bsp/gen83xx: Support for MPC830X

Sebastian Huber sebh at rtems.org
Mon Apr 2 09:39:03 UTC 2012


Module:    rtems
Branch:    master
Commit:    a3db5ff4acdd2f2ef1c910e995ddb6989fd7b1ba
Changeset: http://git.rtems.org/rtems/commit/?id=a3db5ff4acdd2f2ef1c910e995ddb6989fd7b1ba

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Apr  2 11:05:29 2012 +0200

bsp/gen83xx: Support for MPC830X

---

 c/src/lib/libbsp/powerpc/gen83xx/startup/cpuinit.c |    6 +++++-
 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 873c76d..4c7ced0 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,




More information about the vc mailing list