1
0
Fork 0
forked from len0rd/rockbox

Use larger IRAM for M5/X5 in vorbis.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25061 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-03-07 21:02:55 +00:00
parent 40c266532b
commit fb70ec6ff9

View file

@ -33,15 +33,8 @@
#define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR #define ICODE_ATTR_TREMOR_NOT_MDCT ICODE_ATTR
#endif #endif
/* Define CPU of large IRAM (MCF5250) */ /* Define CPU of large IRAM (PP5022/5024, MCF5250) */
#if (CONFIG_CPU == MCF5250) #if (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X) || (CONFIG_CPU == MCF5250)
/* PCM_BUFFER : 32768 Byte (4096*2*4) *
* WINDOW_LOOKUP : 4608 Byte (128*4 + 1024*4) *
* TOTAL : 37376 */
#define IRAM_IBSS_SIZE 37376
/* Define CPU of large IRAM (PP5022/5024) */
#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024) || defined(CPU_S5L870X)
/* PCM_BUFFER : 32768 byte (4096*2*4 or 2048*4*4) * /* PCM_BUFFER : 32768 byte (4096*2*4 or 2048*4*4) *
* WINDOW_LOOKUP : 9216 Byte (256*4 + 2048*4) * * WINDOW_LOOKUP : 9216 Byte (256*4 + 2048*4) *
* TOTAL : 41984 */ * TOTAL : 41984 */