From a24017f4da1be50a43bd14db607205582abc7544 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 27 Jun 2005 21:23:03 +0000 Subject: Moved the codec and plugin buffer sizes to the config-*.h files instead of having it repeated in numerous files where they all had to be updated to the same value if ever changed. This allows specific models to actually have its own buffer sizes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6901 a1c6a512-1295-4272-9138-f99709370657 --- firmware/app.lds | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'firmware/app.lds') diff --git a/firmware/app.lds b/firmware/app.lds index 91f0395..ee666d8 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -101,17 +101,9 @@ _pluginbuf = 0; #else -#if MEMORYSIZE >= 32 -#define PLUGINSIZE 0xC0000 -#else -#define PLUGINSIZE 0x8000 -#endif +#define PLUGINSIZE PLUGIN_BUFFER_SIZE +#define CODECSIZE CODEC_SIZE -#if CONFIG_HWCODEC == MASNONE -#define CODECSIZE 0x40000 -#else -#define CODECSIZE 0 -#endif #ifdef DEBUG #define STUBOFFSET 0x10000 -- cgit v1.1