[rtems commit] bsp/mpc55xx: Add and use STARTROM
Sebastian Huber
sebh at rtems.org
Mon Dec 3 12:14:54 UTC 2012
Module: rtems
Branch: master
Commit: 95aebbe3804899492f375945fd95841660cac99b
Changeset: http://git.rtems.org/rtems/commit/?id=95aebbe3804899492f375945fd95841660cac99b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Nov 23 10:11:55 2012 +0100
bsp/mpc55xx: Add and use STARTROM
---
.../mpc55xxevb/startup/linkcmds.mpc5674f_ecu508 | 2 +-
.../startup/linkcmds.mpc5674f_ecu508_app | 2 ++
.../startup/linkcmds.mpc5674f_ecu508_boot | 3 ++-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508 b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508
index 314538b..0a3b58f 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508
@@ -4,7 +4,7 @@ MEMORY {
NOCACHE : ORIGIN = 0x4003c000, LENGTH = 16k
}
-REGION_ALIAS ("REGION_START", ROM);
+REGION_ALIAS ("REGION_START", STARTROM);
REGION_ALIAS ("REGION_FAST_TEXT", RAM);
REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ROM);
REGION_ALIAS ("REGION_TEXT", ROM);
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_app b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_app
index 1e8b90a..72c14cd 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_app
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_app
@@ -3,4 +3,6 @@ MEMORY {
ROM : ORIGIN = 0x00100000, LENGTH = 3M - 4k
}
+REGION_ALIAS ("STARTROM", ROM);
+
INCLUDE linkcmds.mpc5674f_ecu508
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_boot b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_boot
index f1e6b94..6dc5a7f 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_boot
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/linkcmds.mpc5674f_ecu508_boot
@@ -1,5 +1,6 @@
MEMORY {
- ROM : ORIGIN = 0x0, LENGTH = 1M
+ STARTROM : ORIGIN = 0x0, LENGTH = 32k
+ ROM : ORIGIN = 0x40000, LENGTH = 768k
}
INCLUDE linkcmds.mpc5674f_ecu508
More information about the vc
mailing list