From 3ec66893e377b088c1284d2d23adb2aeea6d7965 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 27 Feb 2021 22:08:58 +0000 Subject: New port: FiiO M3K on bare metal Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe --- apps/plugins/plugin.lds | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/plugin.lds') 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) #elif CONFIG_CPU==IMX233 #include "cpu.h" #define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE) +#elif CONFIG_CPU==X1000 +#include "config.h" +#undef STUBOFFSET +#define STUBOFFSET 0x4000 #endif /* default to full RAM (minus codecs&plugins) unless specified otherwise */ @@ -174,6 +178,11 @@ OUTPUT_FORMAT(elf32-littlemips) #define IRAMSIZE 0 /* The bit of IRAM that is available is used in the core */ +#elif CONFIG_CPU == X1000 +#define DRAMORIG (0x80000000 + STUBOFFSET) +#define IRAM DRAM +#define IRAMSIZE 0 + #elif CONFIG_CPU == RK27XX #define DRAMORIG 0x60000000 #define IRAM DRAM -- cgit v1.2.3