diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-07-23 13:48:01 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-07-23 13:48:01 +0000 |
commit | fa0f17d9b0a418e165dcebe449c7b3d8b3f7148f (patch) | |
tree | 3002dcc55a92b8b3488357f5b3d1004eef055929 /firmware/export | |
parent | eb90d956935019f577311ebc7aec3a7898d76019 (diff) | |
download | rockbox-fa0f17d9b0a418e165dcebe449c7b3d8b3f7148f.tar.gz rockbox-fa0f17d9b0a418e165dcebe449c7b3d8b3f7148f.zip |
imx233/fuze+: move page table to dram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30201 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/imx233.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/imx233.h b/firmware/export/imx233.h index 682240ac40..d9ea06a420 100644 --- a/firmware/export/imx233.h +++ b/firmware/export/imx233.h | |||
@@ -26,11 +26,11 @@ | |||
26 | #define DRAM_ORIG 0x40000000 | 26 | #define DRAM_ORIG 0x40000000 |
27 | #define DRAM_SIZE (MEMORYSIZE * 0x100000) | 27 | #define DRAM_SIZE (MEMORYSIZE * 0x100000) |
28 | 28 | ||
29 | #define TTB_BASE_ADDR (IRAM_ORIG + IRAM_SIZE - TTB_SIZE) | 29 | #define TTB_BASE_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE) |
30 | #define TTB_SIZE 0x4000 | 30 | #define TTB_SIZE 0x4000 |
31 | #define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) | 31 | #define TTB_BASE ((unsigned long *)TTB_BASE_ADDR) |
32 | #define FRAME_SIZE (LCD_WIDTH * LCD_HEIGHT * LCD_DEPTH / 8) | 32 | #define FRAME_SIZE (LCD_WIDTH * LCD_HEIGHT * LCD_DEPTH / 8) |
33 | #define LCD_FRAME_ADDR (DRAM_ORIG + DRAM_SIZE - FRAME_SIZE) | 33 | #define LCD_FRAME_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE - FRAME_SIZE) |
34 | #define FRAME ((unsigned short *)LCD_FRAME_ADDR) | 34 | #define FRAME ((unsigned short *)LCD_FRAME_ADDR) |
35 | 35 | ||
36 | /* USBOTG */ | 36 | /* USBOTG */ |