bsp/mvme147*: Fix linker issue

The GNU linker does not allow a nonconstant expression for a region
length.
This commit is contained in:
Sebastian Huber
2016-09-23 08:41:58 +02:00
parent bbe8833336
commit 8ace7ee42f
2 changed files with 2 additions and 6 deletions
@@ -16,12 +16,10 @@
* May 1996
*/
RamSize = DEFINED(RamSize) ? RamSize : 4M;
MEMORY
{
bootrom_reserved : ORIGIN = 0x00000000, LENGTH = 0x5000
ram : ORIGIN = 0x00005000, LENGTH = RamSize - 0x5000
ram : ORIGIN = 0x00005000, LENGTH = 4M - 0x5000
}
REGION_ALIAS ("REGION_TEXT", ram);
@@ -16,12 +16,10 @@
* May 1996
*/
RamSize = DEFINED(RamSize) ? RamSize : 4M;
MEMORY
{
bootrom_reserved : ORIGIN = 0x00000000, LENGTH = 0x7000
ram : ORIGIN = 0x00007000, LENGTH = RamSize - 0x7000
ram : ORIGIN = 0x00007000, LENGTH = 4M - 0x7000
}
REGION_ALIAS ("REGION_TEXT", ram);