diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-03 23:43:12 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-12 18:25:10 +0000 |
commit | 58225bd2c8c7d1994601c6c43d99c4cc5bdc2a91 (patch) | |
tree | c8dcc97aec1cc4d98f532426ac15dd901b006acd /firmware/target/mips/ingenic_x1000/app.lds | |
parent | 38eafb60ff53079074443cddbda71dc4d7b31193 (diff) | |
download | rockbox-58225bd2c8c7d1994601c6c43d99c4cc5bdc2a91.tar.gz rockbox-58225bd2c8c7d1994601c6c43d99c4cc5bdc2a91.zip |
x1000: remove plugin and codec buffers on bootloader
On the bootloader there's no point reserving memory for these,
the only users of codecbuf/pluginbuf are in the apps/ tree.
Change-Id: Ib57b4d59aff8f4dcc753d7993956ed15e61cdc52
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/app.lds')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/app.lds | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/app.lds b/firmware/target/mips/ingenic_x1000/app.lds index 9b36071c3c..55a43af10a 100644 --- a/firmware/target/mips/ingenic_x1000/app.lds +++ b/firmware/target/mips/ingenic_x1000/app.lds | |||
@@ -6,6 +6,13 @@ OUTPUT_ARCH(MIPS) | |||
6 | ENTRY(_start) | 6 | ENTRY(_start) |
7 | STARTUP(target/mips/ingenic_x1000/crt0.o) | 7 | STARTUP(target/mips/ingenic_x1000/crt0.o) |
8 | 8 | ||
9 | #ifdef BOOTLOADER | ||
10 | # undef PLUGIN_BUFFER_SIZE | ||
11 | # undef CODEC_SIZE | ||
12 | # define PLUGIN_BUFFER_SIZE 0 | ||
13 | # define CODEC_SIZE 0 | ||
14 | #endif | ||
15 | |||
9 | /* End of the audio buffer, where the codec buffer starts */ | 16 | /* End of the audio buffer, where the codec buffer starts */ |
10 | #define ENDAUDIOADDR (X1000_DRAM_END - PLUGIN_BUFFER_SIZE - CODEC_SIZE) | 17 | #define ENDAUDIOADDR (X1000_DRAM_END - PLUGIN_BUFFER_SIZE - CODEC_SIZE) |
11 | 18 | ||