diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-05-10 22:03:45 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-05-10 22:03:45 +0000 |
commit | 209aa8eda5b5c7cecde65885e6beaf37c92ba622 (patch) | |
tree | 6beddeac6d9714732931b211c2d4cd84ce5db920 /apps/codecs/libmad/mad_iram.h | |
parent | ab15fa7e00a4d98685dba186125d0805d1deb22c (diff) | |
download | rockbox-209aa8eda5b5c7cecde65885e6beaf37c92ba622.tar.gz rockbox-209aa8eda5b5c7cecde65885e6beaf37c92ba622.zip |
Real fake IRAM by placing .i.... section in the analagous DRAM sections in the linker scripts that hasn't done this yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17449 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libmad/mad_iram.h')
-rw-r--r-- | apps/codecs/libmad/mad_iram.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/codecs/libmad/mad_iram.h b/apps/codecs/libmad/mad_iram.h index ffa6be8881..08d218a1d8 100644 --- a/apps/codecs/libmad/mad_iram.h +++ b/apps/codecs/libmad/mad_iram.h | |||
@@ -30,8 +30,7 @@ | |||
30 | /* Code performs slower in IRAM on PP502x and there is no space in | 30 | /* Code performs slower in IRAM on PP502x and there is no space in |
31 | mpegplayer on the PP5002. S3C2440 doesn't have any IRAM available for | 31 | mpegplayer on the PP5002. S3C2440 doesn't have any IRAM available for |
32 | codecs */ | 32 | codecs */ |
33 | #if defined(CPU_PP502x) || (CONFIG_CPU == PP5002 && defined(MPEGPLAYER)) || \ | 33 | #if defined(CPU_PP502x) || (CONFIG_CPU == PP5002 && defined(MPEGPLAYER)) |
34 | (CONFIG_CPU==S3C2440) || (CONFIG_CPU==IMX31L) | ||
35 | #define ICODE_SECTION_MPA_ARM .text | 34 | #define ICODE_SECTION_MPA_ARM .text |
36 | #define ICODE_ATTR_MPA_SYNTH | 35 | #define ICODE_ATTR_MPA_SYNTH |
37 | #else | 36 | #else |
@@ -39,11 +38,7 @@ | |||
39 | #define ICODE_ATTR_MPA_SYNTH ICODE_ATTR | 38 | #define ICODE_ATTR_MPA_SYNTH ICODE_ATTR |
40 | #endif | 39 | #endif |
41 | 40 | ||
42 | #if CONFIG_CPU == S3C2440 || CONFIG_CPU == IMX31L | ||
43 | #define IBSS_SECTION_MPA_ARM .bss | ||
44 | #else | ||
45 | #define IBSS_SECTION_MPA_ARM .ibss | 41 | #define IBSS_SECTION_MPA_ARM .ibss |
46 | #endif | ||
47 | 42 | ||
48 | #ifndef ICONST_ATTR_MPA_HUFFMAN | 43 | #ifndef ICONST_ATTR_MPA_HUFFMAN |
49 | #define ICONST_ATTR_MPA_HUFFMAN ICONST_ATTR | 44 | #define ICONST_ATTR_MPA_HUFFMAN ICONST_ATTR |