From 81b51ebe58af6647c33a7dbf89d2125bde748a35 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 10 Mar 2005 20:02:41 +0000 Subject: [PATCH] Made the IRAM usage depend on the CPU type. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6182 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/rockmacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/rockboy/rockmacros.h b/apps/plugins/rockboy/rockmacros.h index 9f8cdae59f..74398c75ab 100644 --- a/apps/plugins/rockboy/rockmacros.h +++ b/apps/plugins/rockboy/rockmacros.h @@ -73,7 +73,7 @@ void savestate(int fd); #define mkdir(a,b) rb->mkdir((a),(b)) #define open(a,b) rb->open((a),(b)) #define lseek(a,b,c) rb->lseek((a),(b),(c)) -#if CONFIG_KEYPAD == IRIVER_H100_PAD +#if CONFIG_CPU == MCF5249 && !defined(SIMULATOR) #define ICODE_ATTR __attribute__ ((section(".icode"))) #define IDATA_ATTR __attribute__ ((section(".idata"))) #define USE_IRAM 1