From 40dbc10ec3f77193316d287835ce44f0237360e5 Mon Sep 17 00:00:00 2001 From: kugel Date: Mon, 8 Jun 2009 23:54:56 +0000 Subject: [PATCH] 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 --- firmware/export/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/export/config.h b/firmware/export/config.h index 696c923bb..89c70ce96 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"))) -- 2.11.4.GIT