diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-06-08 23:54:56 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-06-08 23:54:56 +0000 |
commit | 3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7 (patch) | |
tree | f66bc46f8271e0b98f41ffcf16c2d04b523e967b /firmware | |
parent | f5041538574c039b07c4db8d261bd33ec0f3bab0 (diff) | |
download | rockbox-3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7.tar.gz rockbox-3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7.zip |
Use the AMS_LOWMEM define to indicate memory size as the .lds files do in config.h too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21229 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 696c923bb6..89c70ce965 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -636,8 +636,8 @@ Lyre prototype 1*/ | |||
636 | (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \ | 636 | (((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \ |
637 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ | 637 | defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \ |
638 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ | 638 | defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \ |
639 | (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || /* AS3525 +2MB: core, plugins, codecs */ \ | 639 | (CONFIG_CPU == AS3525 && !defined(AMS_LOWMEM)) || /* AS3525 +2MB: core, plugins, codecs */ \ |
640 | (CONFIG_CPU == AS3525 && MEMORYSIZE <= 2 && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \ | 640 | (CONFIG_CPU == AS3525 && defined(AMS_LOWMEM) && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \ |
641 | (CONFIG_CPU == PNX0101) || \ | 641 | (CONFIG_CPU == PNX0101) || \ |
642 | (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ | 642 | (CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */ |
643 | #define ICODE_ATTR __attribute__ ((section(".icode"))) | 643 | #define ICODE_ATTR __attribute__ ((section(".icode"))) |