forked from len0rd/rockbox
Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
35bcdef144
commit
5d849a963e
26 changed files with 33 additions and 41 deletions
|
|
@ -28,7 +28,7 @@
|
|||
#define REG32_PTR_T volatile unsigned long *
|
||||
|
||||
/* Place in the section with the framebuffer */
|
||||
#define TTB_BASE_ADDR (CSD0_BASE_ADDR + (MEM*0x100000) - TTB_SIZE)
|
||||
#define TTB_BASE_ADDR (CSD0_BASE_ADDR + (MEMORYSIZE*0x100000) - TTB_SIZE)
|
||||
#define TTB_SIZE (0x4000)
|
||||
#define IRAM_SIZE (0x4000)
|
||||
#define TTB_BASE ((unsigned long *)TTB_BASE_ADDR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue