forked from len0rd/rockbox
imx233/fuze+: prepare target to enable MMU
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30199 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3f8bf5e041
commit
06c94740e5
4 changed files with 35 additions and 16 deletions
|
@ -24,12 +24,14 @@
|
|||
#define IRAM_ORIG 0
|
||||
#define IRAM_SIZE 0x8000
|
||||
#define DRAM_ORIG 0x40000000
|
||||
#define DRAM_SIZE 0x20000000
|
||||
#define DRAM_SIZE (MEMORYSIZE * 0x100000)
|
||||
|
||||
#define TTB_BASE_ADDR (DRAM_ORIG + (MEMORYSIZE*0x100000) - TTB_SIZE)
|
||||
#define TTB_SIZE (0x4000)
|
||||
#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR)
|
||||
#define FRAME_SIZE (240*320*2)
|
||||
#define TTB_BASE_ADDR (IRAM_ORIG + IRAM_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 FRAME ((unsigned short *)LCD_FRAME_ADDR)
|
||||
|
||||
/* USBOTG */
|
||||
#define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(2048)))
|
||||
|
@ -48,5 +50,7 @@
|
|||
#define __BLOCK_SFTRST (1 << 31)
|
||||
#define __BLOCK_CLKGATE (1 << 30)
|
||||
|
||||
#define CACHEALIGN_BITS 4
|
||||
|
||||
|
||||
#endif /* __IMX233_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue