summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/plugin.lds7
-rw-r--r--firmware/export/config.h4
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__)