summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index f4bd64d..efd6015 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -71,6 +71,10 @@ OUTPUT_FORMAT(elf32-littlemips)
#else
#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - TTB_SIZE)
#endif
+#elif CONFIG_CPU==S5L8702
+#define ASM
+#include "cpu.h"
+#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - TTB_SIZE)
#endif
/* default to full RAM (minus codecs&plugins) unless specified otherwise */
@@ -150,6 +154,12 @@ OUTPUT_FORMAT(elf32-littlemips)
#define IRAMORIG (0x00000000 + (48*1024))
#define IRAMSIZE (128*1024)
+#elif CONFIG_CPU==S5L8702
+/* S5L8702 have 256KB of IRAM */
+#define DRAMORIG 0x08000000
+#define IRAMORIG (0x00000000 + (56*1024))
+#define IRAMSIZE (200*1024)
+
#elif CONFIG_CPU == JZ4732
#define DRAMORIG 0x80004000 + STUBOFFSET
#define IRAM DRAM