summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-05-06 06:28:04 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-05-06 06:28:04 +0000
commitc7ba440e5563d2cbb5545b1c65b316944be016a3 (patch)
tree34a1a64ebbe7e9527e70b1eccc06e111ea9fe36e
parent2011-04-25 Jennifer Averett <jennifer.averett@OARcorp.com> (diff)
downloadrtems-c7ba440e5563d2cbb5545b1c65b316944be016a3.tar.bz2
2011-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Moved NEED_LOW_LEVEL_INIT define because it has to be visible for the assembler. * startup/linkcmds.brs5l: Fixed RAM size.
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/ChangeLog6
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/include/bsp.h9
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l2
3 files changed, 12 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
index 2b60bbffcb..a4927f8403 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * include/bsp.h: Moved NEED_LOW_LEVEL_INIT define because it has to be
+ visible for the assembler.
+ * startup/linkcmds.brs5l: Fixed RAM size.
+
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff --git a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
index 5bcae681cb..d335b72799 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/gen5200/include/bsp.h
@@ -79,6 +79,11 @@ LINKER_SYMBOL(MBAR);
#define PM520
#endif
+#if !defined(HAS_UBOOT)
+ /* we need the low level initialization in start.S*/
+ #define NEED_LOW_LEVEL_INIT
+#endif
+
#if defined(BRS5L)
/*
* IMD Custom Board BRS5L
@@ -123,10 +128,6 @@ extern "C" {
extern bd_t bsp_uboot_board_info;
#else
-/* we need the low level initialization in start.S*/
-#define NEED_LOW_LEVEL_INIT
-
-
#endif
/*
diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l b/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l
index 5073165962..034aab84fa 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l
+++ b/c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.brs5l
@@ -5,7 +5,7 @@
*/
MEMORY {
- RAM : ORIGIN = 0x0, LENGTH = 256M
+ RAM : ORIGIN = 0x0, LENGTH = 128M
ROM : ORIGIN = 0xffe00000, LENGTH = 2M
DPRAM : ORIGIN = 0xff000000, LENGTH = 1k
REGS : ORIGIN = 0xf0000000, LENGTH = 64k