diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-06-27 21:23:03 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-27 21:23:03 +0000 |
| commit | a24017f4da1be50a43bd14db607205582abc7544 (patch) | |
| tree | 16e3d6a2fc27e21a44238b3b647c50546e0bb5ce /firmware/app.lds | |
| parent | 46136596433da25f3d802d72d0d1273a229c9d9f (diff) | |
| download | rockbox-a24017f4da1be50a43bd14db607205582abc7544.zip rockbox-a24017f4da1be50a43bd14db607205582abc7544.tar.gz rockbox-a24017f4da1be50a43bd14db607205582abc7544.tar.bz2 rockbox-a24017f4da1be50a43bd14db607205582abc7544.tar.xz | |
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
Diffstat (limited to 'firmware/app.lds')
| -rw-r--r-- | firmware/app.lds | 12 |
1 files changed, 2 insertions, 10 deletions
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 |