forked from len0rd/rockbox
imx233/fuze+: move page table to dram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30201 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eb90d95693
commit
fa0f17d9b0
3 changed files with 6 additions and 6 deletions
|
|
@ -26,11 +26,11 @@
|
|||
#define DRAM_ORIG 0x40000000
|
||||
#define DRAM_SIZE (MEMORYSIZE * 0x100000)
|
||||
|
||||
#define TTB_BASE_ADDR (IRAM_ORIG + IRAM_SIZE - TTB_SIZE)
|
||||
#define TTB_BASE_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE)
|
||||
#define TTB_SIZE 0x4000
|
||||
#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR)
|
||||
#define FRAME_SIZE (LCD_WIDTH * LCD_HEIGHT * LCD_DEPTH / 8)
|
||||
#define LCD_FRAME_ADDR (DRAM_ORIG + DRAM_SIZE - FRAME_SIZE)
|
||||
#define LCD_FRAME_ADDR (DRAM_ORIG + DRAM_SIZE - TTB_SIZE - FRAME_SIZE)
|
||||
#define FRAME ((unsigned short *)LCD_FRAME_ADDR)
|
||||
|
||||
/* USBOTG */
|
||||
|
|
|
|||
|
|
@ -12,9 +12,9 @@ STARTUP(target/arm/imx233/crt0.o)
|
|||
#define DRAMORIG DRAM_ORIG
|
||||
#define IRAMORIG IRAM_ORIG
|
||||
|
||||
#define IRAMSIZE (IRAM_SIZE - TTB_SIZE)
|
||||
#define IRAMSIZE IRAM_SIZE
|
||||
|
||||
#define DRAMSIZE (DRAM_SIZE - PLUGINSIZE - CODECSIZE - FRAME_SIZE)
|
||||
#define DRAMSIZE (DRAM_SIZE - PLUGINSIZE - CODECSIZE - FRAME_SIZE - TTB_SIZE)
|
||||
|
||||
/* End of the audio buffer, where the codec buffer starts */
|
||||
#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ STARTUP(target/arm/imx233/crt0.o)
|
|||
|
||||
MEMORY
|
||||
{
|
||||
IRAM : ORIGIN = IRAM_ORIG, LENGTH = IRAM_SIZE - TTB_SIZE
|
||||
DRAM : ORIGIN = DRAM_ORIG, LENGTH = DRAM_SIZE - FRAME_SIZE
|
||||
IRAM : ORIGIN = IRAM_ORIG, LENGTH = IRAM_SIZE
|
||||
DRAM : ORIGIN = DRAM_ORIG, LENGTH = DRAM_SIZE - TTB_SIZE - FRAME_SIZE
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue