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
This commit is contained in:
parent
38eafb60ff
commit
58225bd2c8
1 changed files with 7 additions and 0 deletions
|
@ -6,6 +6,13 @@ OUTPUT_ARCH(MIPS)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
STARTUP(target/mips/ingenic_x1000/crt0.o)
|
STARTUP(target/mips/ingenic_x1000/crt0.o)
|
||||||
|
|
||||||
|
#ifdef BOOTLOADER
|
||||||
|
# undef PLUGIN_BUFFER_SIZE
|
||||||
|
# undef CODEC_SIZE
|
||||||
|
# define PLUGIN_BUFFER_SIZE 0
|
||||||
|
# define CODEC_SIZE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* End of the audio buffer, where the codec buffer starts */
|
/* End of the audio buffer, where the codec buffer starts */
|
||||||
#define ENDAUDIOADDR (X1000_DRAM_END - PLUGIN_BUFFER_SIZE - CODEC_SIZE)
|
#define ENDAUDIOADDR (X1000_DRAM_END - PLUGIN_BUFFER_SIZE - CODEC_SIZE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue