summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-02-27 22:08:58 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-03-28 00:01:37 +0000
commit3ec66893e377b088c1284d2d23adb2aeea6d7965 (patch)
treeb647717f83ad56b15dc42cfdef5d04d68cd9bd6b /apps/plugins/plugin.lds
parent83fcbedc65f4b9ae7e491ecf6f07c0af4b245f74 (diff)
downloadrockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.tar.gz
rockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.zip
New port: FiiO M3K on bare metal
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 25ff4a461b..5931b6b0a5 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -76,6 +76,10 @@ OUTPUT_FORMAT(elf32-littlemips)
76#elif CONFIG_CPU==IMX233 76#elif CONFIG_CPU==IMX233
77#include "cpu.h" 77#include "cpu.h"
78#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE) 78#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE)
79#elif CONFIG_CPU==X1000
80#include "config.h"
81#undef STUBOFFSET
82#define STUBOFFSET 0x4000
79#endif 83#endif
80 84
81 /* default to full RAM (minus codecs&plugins) unless specified otherwise */ 85 /* default to full RAM (minus codecs&plugins) unless specified otherwise */
@@ -174,6 +178,11 @@ OUTPUT_FORMAT(elf32-littlemips)
174#define IRAMSIZE 0 178#define IRAMSIZE 0
175/* The bit of IRAM that is available is used in the core */ 179/* The bit of IRAM that is available is used in the core */
176 180
181#elif CONFIG_CPU == X1000
182#define DRAMORIG (0x80000000 + STUBOFFSET)
183#define IRAM DRAM
184#define IRAMSIZE 0
185
177#elif CONFIG_CPU == RK27XX 186#elif CONFIG_CPU == RK27XX
178#define DRAMORIG 0x60000000 187#define DRAMORIG 0x60000000
179#define IRAM DRAM 188#define IRAM DRAM