diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2011-10-02 15:39:30 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2011-10-02 15:39:30 +0000 |
commit | 4157c23c6fc954cca082bbd7dcdc56f29f4ca202 (patch) | |
tree | 06ee2755b5769fd67be8e6521b60c7d1e40b57b0 | |
parent | afb49fb45202b6b4c9b6d6260db2063764f2b6d8 (diff) | |
download | rockbox-4157c23c6fc954cca082bbd7dcdc56f29f4ca202.tar.gz rockbox-4157c23c6fc954cca082bbd7dcdc56f29f4ca202.zip |
imx233/fuze+: don't use iram in plugins and in codecs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30641 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/plugin.lds | 7 | ||||
-rw-r--r-- | firmware/export/config.h | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 49d965f5f4..c21d49d00b 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -171,6 +171,13 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
171 | #define IRAM DRAM | 171 | #define IRAM DRAM |
172 | #define IRAMSIZE 0 | 172 | #define IRAMSIZE 0 |
173 | 173 | ||
174 | #elif CONFIG_CPU == IMX233 | ||
175 | #include "cpu.h" | ||
176 | /* The IRAM is too small and already partly used by the core */ | ||
177 | #define DRAMORIG CACHED_DRAM_ADDR | ||
178 | #define IRAM DRAM | ||
179 | #define IRAMSIZE 0 | ||
180 | |||
174 | #else | 181 | #else |
175 | #define DRAMORIG 0x09000000 + STUBOFFSET | 182 | #define DRAMORIG 0x09000000 + STUBOFFSET |
176 | #endif | 183 | #endif |
diff --git a/firmware/export/config.h b/firmware/export/config.h index a22922b0b1..1c55d232ef 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -841,7 +841,7 @@ Lyre prototype 1 */ | |||
841 | (CONFIG_CPU == AS3525v2 && !defined(PLUGIN) && !defined(CODEC) && !defined(BOOTLOADER)) || /* AS3525v2: core only */ \ | 841 | (CONFIG_CPU == AS3525v2 && !defined(PLUGIN) && !defined(CODEC) && !defined(BOOTLOADER)) || /* AS3525v2: core only */ \ |
842 | (CONFIG_CPU == PNX0101) || \ | 842 | (CONFIG_CPU == PNX0101) || \ |
843 | (CONFIG_CPU == TCC7801) || \ | 843 | (CONFIG_CPU == TCC7801) || \ |
844 | (CONFIG_CPU == IMX233) || \ | 844 | (CONFIG_CPU == IMX233 && !defined(PLUGIN) && !defined(CODEC)) || /* IMX233: core only */ \ |
845 | defined(CPU_S5L870X)) || /* Samsung S5L8700: core, plugins, codecs */ \ | 845 | defined(CPU_S5L870X)) || /* Samsung S5L8700: core, plugins, codecs */ \ |
846 | (CONFIG_CPU == JZ4732 && !defined(PLUGIN) && !defined(CODEC)) /* Jz4740: core only */ | 846 | (CONFIG_CPU == JZ4732 && !defined(PLUGIN) && !defined(CODEC)) /* Jz4740: core only */ |
847 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | 847 | #define ICODE_ATTR __attribute__ ((section(".icode"))) |
@@ -850,7 +850,7 @@ Lyre prototype 1 */ | |||
850 | #define IBSS_ATTR __attribute__ ((section(".ibss"))) | 850 | #define IBSS_ATTR __attribute__ ((section(".ibss"))) |
851 | #define USE_IRAM | 851 | #define USE_IRAM |
852 | #if CONFIG_CPU != SH7034 && (CONFIG_CPU != AS3525 || MEMORYSIZE > 2) \ | 852 | #if CONFIG_CPU != SH7034 && (CONFIG_CPU != AS3525 || MEMORYSIZE > 2) \ |
853 | && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 | 853 | && CONFIG_CPU != JZ4732 && CONFIG_CPU != AS3525v2 && CONFIG_CPU != IMX233 |
854 | #define PLUGIN_USE_IRAM | 854 | #define PLUGIN_USE_IRAM |
855 | #endif | 855 | #endif |
856 | #if defined(CPU_ARM) && !defined(__ARM_EABI__) | 856 | #if defined(CPU_ARM) && !defined(__ARM_EABI__) |