forked from len0rd/rockbox
Reconfigure IRAM for S5L870x. S5L8700 has 256 KB of IRAM, use a 48 KB / 208 KB split for core/codec. S5L8701 has 176 KB of IRAM, use a 48 KB / 128 KB split for core/codec. This will allow further speed optimization of codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28463 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
88b6bef9d4
commit
57a683fc7d
2 changed files with 8 additions and 6 deletions
|
@ -139,14 +139,16 @@ OUTPUT_FORMAT(elf32-littlemips)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif CONFIG_CPU==S5L8700
|
#elif CONFIG_CPU==S5L8700
|
||||||
|
/* S5L8700 have 256KB of IRAM */
|
||||||
#define DRAMORIG 0x08000000
|
#define DRAMORIG 0x08000000
|
||||||
#define IRAMORIG (0x00000000 + (64*1024))
|
#define IRAMORIG (0x00000000 + (48*1024))
|
||||||
#define IRAMSIZE (64*1024)
|
#define IRAMSIZE (208*1024)
|
||||||
|
|
||||||
#elif CONFIG_CPU==S5L8701
|
#elif CONFIG_CPU==S5L8701
|
||||||
|
/* S5L8701 have 176KB of IRAM */
|
||||||
#define DRAMORIG 0x08000000
|
#define DRAMORIG 0x08000000
|
||||||
#define IRAMORIG (0x00000000 + (96*1024))
|
#define IRAMORIG (0x00000000 + (48*1024))
|
||||||
#define IRAMSIZE (80*1024)
|
#define IRAMSIZE (128*1024)
|
||||||
|
|
||||||
#elif CONFIG_CPU == JZ4732
|
#elif CONFIG_CPU == JZ4732
|
||||||
#define DRAMORIG 0x80004000 + STUBOFFSET
|
#define DRAMORIG 0x80004000 + STUBOFFSET
|
||||||
|
|
|
@ -21,9 +21,9 @@ STARTUP(target/arm/s5l8700/crt0.o)
|
||||||
#define DRAMSIZE (DRAM_SIZE - PLUGINSIZE - CODECSIZE)
|
#define DRAMSIZE (DRAM_SIZE - PLUGINSIZE - CODECSIZE)
|
||||||
#define CODECORIG (ENDAUDIOADDR)
|
#define CODECORIG (ENDAUDIOADDR)
|
||||||
#if CONFIG_CPU==S5L8700
|
#if CONFIG_CPU==S5L8700
|
||||||
#define IRAMSIZE (128*1024) /* 256KB total - 128KB for core, 128KB for plugins */
|
#define IRAMSIZE (48*1024) /* 256KB total - 48KB for core, 208KB for plugins */
|
||||||
#else /* S5L8701 */
|
#else /* S5L8701 */
|
||||||
#define IRAMSIZE (96*1024) /* 176KB total - 96KB for core, 80KB for plugins */
|
#define IRAMSIZE (48*1024) /* 176KB total - 48KB for core, 128KB for plugins */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Where the codec buffer ends, and the plugin buffer starts */
|
/* Where the codec buffer ends, and the plugin buffer starts */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue