diff options
author | Dave Chapman <dave@dchapman.com> | 2009-07-25 00:49:13 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2009-07-25 00:49:13 +0000 |
commit | 5b3f333dd79394d8814a838df367b45523dc207d (patch) | |
tree | 1df0623da05366799ae1fca11c73d566455859fe /firmware/target/arm/s5l8700/boot.lds | |
parent | 658636996bf4988d81b1f105d7025d6fbf697578 (diff) | |
download | rockbox-5b3f333dd79394d8814a838df367b45523dc207d.tar.gz rockbox-5b3f333dd79394d8814a838df367b45523dc207d.zip |
Correct the memory sizes (IRAM and DRAM) for the Nano2G.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22025 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/boot.lds')
-rw-r--r-- | firmware/target/arm/s5l8700/boot.lds | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/target/arm/s5l8700/boot.lds b/firmware/target/arm/s5l8700/boot.lds index 28271822e8..12f03ef463 100644 --- a/firmware/target/arm/s5l8700/boot.lds +++ b/firmware/target/arm/s5l8700/boot.lds | |||
@@ -9,12 +9,16 @@ OUTPUT_FORMAT(elf32-bigarm) | |||
9 | OUTPUT_ARCH(arm) | 9 | OUTPUT_ARCH(arm) |
10 | STARTUP(target/arm/s5l8700/crt0.o) | 10 | STARTUP(target/arm/s5l8700/crt0.o) |
11 | 11 | ||
12 | /* DRAMORIG is in fact 0x8000000 but remapped to 0x0 */ | 12 | /* DRAMORIG is in fact 0x08000000 but remapped to 0x0 */ |
13 | #define DRAMORIG 0x8000000 | 13 | #define DRAMORIG 0x08000000 |
14 | #define DRAMSIZE 16M | 14 | #define DRAMSIZE (MEMORYSIZE * 0x100000) |
15 | 15 | ||
16 | #define IRAMORIG 0x22000000 | 16 | #define IRAMORIG 0x22000000 |
17 | #if CONFIG_CPU==S5L8701 | ||
18 | #define IRAMSIZE 176K | ||
19 | #else | ||
17 | #define IRAMSIZE 256K | 20 | #define IRAMSIZE 256K |
21 | #endif | ||
18 | 22 | ||
19 | #ifdef MEIZU_M6SL | 23 | #ifdef MEIZU_M6SL |
20 | #define DFULOADADDR IRAMORIG | 24 | #define DFULOADADDR IRAMORIG |