New port: FiiO M3K on bare metal

Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
This commit is contained in:
Aidan MacDonald 2021-02-27 22:08:58 +00:00
parent 83fcbedc65
commit 3ec66893e3
143 changed files with 16585 additions and 24 deletions

View file

@ -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