summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-05-14 21:41:25 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-05-14 21:41:25 +0000
commit63effbf11c985e4fe2355d189d941b71c37979b2 (patch)
treec48eedb8f4ca7051e8481573dfb9f1e5f1843150 /apps/plugins/plugin.lds
parent05e8488ad8f3ff849ab63f2273e44132c64fbfcd (diff)
downloadrockbox-63effbf11c985e4fe2355d189d941b71c37979b2.zip
rockbox-63effbf11c985e4fe2355d189d941b71c37979b2.tar.gz
rockbox-63effbf11c985e4fe2355d189d941b71c37979b2.tar.bz2
rockbox-63effbf11c985e4fe2355d189d941b71c37979b2.tar.xz
CPU model must be compared to CONFIG_CPU.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17517 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 847ce36..536f761 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -53,7 +53,7 @@ OUTPUT_FORMAT(elf32-sh)
#define DRAMORIG 0x31000000
#define IRAMORIG 0x10010000
#define IRAMSIZE 0x10000
-#elif (defined(PP5022) || defined(PP5024))
+#elif CONFIG_CPU == PP5022 || CONFIG_CPU == PP5024
/* PP5022/24 have 128KB of IRAM */
#define DRAMORIG 0x00000000
#define IRAMORIG 0x4000c000