summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-06-08 23:54:56 +0000
committerThomas Martitz <kugel@rockbox.org>2009-06-08 23:54:56 +0000
commit3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7 (patch)
treef66bc46f8271e0b98f41ffcf16c2d04b523e967b
parentf5041538574c039b07c4db8d261bd33ec0f3bab0 (diff)
downloadrockbox-3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7.zip
rockbox-3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7.tar.gz
rockbox-3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7.tar.bz2
rockbox-3b0fca3c6cc9f6faf1c8460e41d6c48b320bbdb7.tar.xz
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
-rw-r--r--firmware/export/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 696c923..89c70ce 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -636,8 +636,8 @@ Lyre prototype 1*/
(((CONFIG_CPU == SH7034) && !defined(PLUGIN)) || /* SH1 archos: core only */ \
defined(CPU_COLDFIRE) || /* Coldfire: core, plugins, codecs */ \
defined(CPU_PP) || /* PortalPlayer: core, plugins, codecs */ \
- (CONFIG_CPU == AS3525 && MEMORYSIZE > 2) || /* AS3525 +2MB: core, plugins, codecs */ \
- (CONFIG_CPU == AS3525 && MEMORYSIZE <= 2 && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \
+ (CONFIG_CPU == AS3525 && !defined(AMS_LOWMEM)) || /* AS3525 +2MB: core, plugins, codecs */ \
+ (CONFIG_CPU == AS3525 && defined(AMS_LOWMEM) && !defined(PLUGIN) && !defined(CODEC)) || /* AS3525 2MB:core only */ \
(CONFIG_CPU == PNX0101) || \
(CONFIG_CPU == S5L8700)) /* Samsung S5L8700: core, plugins, codecs */
#define ICODE_ATTR __attribute__ ((section(".icode")))