summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-27 11:58:16 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-27 11:58:16 +0000
commit64501892a93468ccd04048bb83b35dc8eeb43b95 (patch)
treeb517d034c6383cbbc851c5a3b932c70c2b82f8f2 /c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds
parent2009-05-25 Allan Hessenflow <allanh@kallisti.com> (diff)
downloadrtems-64501892a93468ccd04048bb83b35dc8eeb43b95.tar.bz2
2009-05-25 Allan Hessenflow <allanh@kallisti.com>
PR 1415/bsps * startup/bspstart.c, startup/linkcmds: Enable caches and therefore enable the mmu. * start/start.S: Correct call to boot_card to meet bfin abi by clearing l0 - l3 and allocating some stack space.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds b/c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds
index 90b2ae59b4..b4102ee9f3 100644
--- a/c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds
+++ b/c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds
@@ -12,7 +12,11 @@ ENTRY(__start)
* Declare some sizes.
*/
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
-_RamSize = DEFINED(_RamSize) ? _RamSize : 0x04000000;
+/* bf537stamp has 64MB ram, but dynamic mmu tables have not yet been
+ implemented. there are not enough static entries to support 64MB
+ along with banks for io and flash, so waste some RAM at the end
+ to free up mmu entries. */
+_RamSize = DEFINED(_RamSize) ? _RamSize : 0x03400000;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;