memory.x fixes
This commit is contained in:
parent
b8bb7e23c7
commit
7229ff4150
6
memory.x
6
memory.x
@ -4,8 +4,8 @@ MEMORY
|
|||||||
/* Zedboard: 512 MB DDR3. Only use 63 MB for now, should be plenty for a bare-metal app.
|
/* Zedboard: 512 MB DDR3. Only use 63 MB for now, should be plenty for a bare-metal app.
|
||||||
Leave 1 MB of memory which will be configured as uncached device memory by the MPU. This is
|
Leave 1 MB of memory which will be configured as uncached device memory by the MPU. This is
|
||||||
recommended for something like DMA descriptors. */
|
recommended for something like DMA descriptors. */
|
||||||
CODE(rx) : ORIGIN = 0x00100000, LENGTH = 63MB
|
CODE(rx) : ORIGIN = 0x00100000, LENGTH = 63M
|
||||||
UNCACHED(rx): ORIGIN = 0x4000000, LENGTH = 1MB
|
UNCACHED(rx): ORIGIN = 0x4000000, LENGTH = 1M
|
||||||
}
|
}
|
||||||
|
|
||||||
REGION_ALIAS("DATA", CODE);
|
REGION_ALIAS("DATA", CODE);
|
||||||
@ -19,5 +19,5 @@ SECTIONS
|
|||||||
*(.uncached .uncached.*);
|
*(.uncached .uncached.*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
_end_uncached = .;
|
_end_uncached = .;
|
||||||
} > UNCACHED;
|
} > UNCACHED
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user