diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-02-07 10:09:13 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-02-07 10:09:13 +0000 |
commit | 4d3a020f274d49c2b8f10cfdad8c67aaa153bebe (patch) | |
tree | ec04c17d0579a27f6e1f8b2085d5996e6e59f430 /firmware/target/arm/imx31/boot.lds | |
parent | f747d9d39e48c8bbf938220427584c4d8bf41b4c (diff) | |
download | rockbox-4d3a020f274d49c2b8f10cfdad8c67aaa153bebe.tar.gz rockbox-4d3a020f274d49c2b8f10cfdad8c67aaa153bebe.zip |
Gigabeat S: Move the LCD framebuffer address so that DRAM can be mapped flat between physical and virtual addresses. NO BOOTLOADER UPDATE SHOULD BE NEEDED. The firmware image now handles low-level system setup as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19935 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/boot.lds')
-rw-r--r-- | firmware/target/arm/imx31/boot.lds | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/boot.lds b/firmware/target/arm/imx31/boot.lds index a7570c1cf0..b108ba181d 100644 --- a/firmware/target/arm/imx31/boot.lds +++ b/firmware/target/arm/imx31/boot.lds | |||
@@ -8,7 +8,7 @@ STARTUP(target/arm/imx31/crt0.o) | |||
8 | 8 | ||
9 | #define DRAMSIZE (1 << 20) /* Limit 1 MB for bootloader */ | 9 | #define DRAMSIZE (1 << 20) /* Limit 1 MB for bootloader */ |
10 | 10 | ||
11 | #define DRAMORIG (0x02000000-0x00100000) | 11 | #define DRAMORIG 0x02000000 |
12 | /* #define IRAMORIG 0x1FFFC000 */ | 12 | /* #define IRAMORIG 0x1FFFC000 */ |
13 | #define IRAM DRAM | 13 | #define IRAM DRAM |
14 | #define IRAMSIZE IRAM_SIZE | 14 | #define IRAMSIZE IRAM_SIZE |
@@ -19,7 +19,8 @@ STARTUP(target/arm/imx31/crt0.o) | |||
19 | MEMORY | 19 | MEMORY |
20 | { | 20 | { |
21 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 21 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |
22 | DEVBSS : ORIGIN = 0x80100000 + FRAME_SIZE, LENGTH = 0x100000 - FRAME_SIZE - TTB_SIZE | 22 | DEVBSS : ORIGIN = CSD0_BASE_ADDR + (MEMORYSIZE*0x100000 - 0x100000), \ |
23 | LENGTH = 0x100000 - FRAME_SIZE - TTB_SIZE | ||
23 | } | 24 | } |
24 | 25 | ||
25 | SECTIONS | 26 | SECTIONS |