diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index fbba450b2b..9437be1766 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -77,6 +77,9 @@ OUTPUT_FORMAT(elf32-littlemips) #elif CONFIG_CPU==IMX233 #include "cpu.h" #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE) +#elif CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B +/* fake 'iram' region occupies first 16k */ +#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - CODEC_SIZE - 0x4000 #elif CONFIG_CPU==X1000 #include "cpu.h" #define DRAMSIZE (X1000_DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE)