mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 21:55:10 -05:00
Correct the IRAM definitions for the S5L8700/8701 and add definitions for plugins/codecs. The current split (64/64 core/plugins for S5L8700 and 96/80 core/plugins for S5L8701) is arbitrary and should probably be tweaked later
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22905 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
97cc27411d
commit
98d7203eca
2 changed files with 15 additions and 1 deletions
|
|
@ -140,6 +140,16 @@ OUTPUT_FORMAT(elf32-littlemips)
|
||||||
#define IRAMSIZE (IRAM_ORIG + IRAM_SIZE - IRAMORIG)
|
#define IRAMSIZE (IRAM_ORIG + IRAM_SIZE - IRAMORIG)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif CONFIG_CPU==S5L8700
|
||||||
|
#define DRAMORIG 0x08000000
|
||||||
|
#define IRAMORIG (0x00000000 + (64*1024))
|
||||||
|
#define IRAMSIZE (64*1024)
|
||||||
|
|
||||||
|
#elif CONFIG_CPU==S5L8701
|
||||||
|
#define DRAMORIG 0x08000000
|
||||||
|
#define IRAMORIG (0x00000000 + (96*1024))
|
||||||
|
#define IRAMSIZE (80*1024)
|
||||||
|
|
||||||
#elif CONFIG_CPU == JZ4732
|
#elif CONFIG_CPU == JZ4732
|
||||||
#define DRAMORIG 0x80004000 + STUBOFFSET
|
#define DRAMORIG 0x80004000 + STUBOFFSET
|
||||||
#define IRAM DRAM
|
#define IRAM DRAM
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,11 @@ STARTUP(target/arm/s5l8700/crt0.o)
|
||||||
|
|
||||||
#define DRAMSIZE (DRAM_SIZE - STUBOFFSET - PLUGINSIZE - CODECSIZE)
|
#define DRAMSIZE (DRAM_SIZE - STUBOFFSET - PLUGINSIZE - CODECSIZE)
|
||||||
#define CODECORIG (ENDAUDIOADDR)
|
#define CODECORIG (ENDAUDIOADDR)
|
||||||
#define IRAMSIZE (0x20000)
|
#if CONFIG_CPU==S5L8700
|
||||||
|
#define IRAMSIZE (64*1024) /* 128KB total - 64KB for core, 64KB for plugins */
|
||||||
|
#else /* S5L8701 */
|
||||||
|
#define IRAMSIZE (96*1024) /* 176KB total - 96KB for core, 80KB for plugins */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Where the codec buffer ends, and the plugin buffer starts */
|
/* Where the codec buffer ends, and the plugin buffer starts */
|
||||||
#define ENDADDR (ENDAUDIOADDR + CODECSIZE)
|
#define ENDADDR (ENDAUDIOADDR + CODECSIZE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue