summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2006-11-22 00:41:30 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2006-11-22 00:41:30 +0000
commit242cbd5cd73542c79020a4ce9a8e83ee0391bc72 (patch)
treea1a66ed8d4eb65db38daedfe701138aa0bde726d /apps
parent336cb6898ef55ea6480a0b5547d30bb5029c79ef (diff)
downloadrockbox-242cbd5cd73542c79020a4ce9a8e83ee0391bc72.tar.gz
rockbox-242cbd5cd73542c79020a4ce9a8e83ee0391bc72.zip
Change if CONFIG_CPU==PP50XX to ifdef CPU_PP where appropriate
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11569 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c4
-rw-r--r--apps/playback.c2
-rw-r--r--apps/plugins/plugin.lds8
3 files changed, 5 insertions, 9 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index ecdbe26370..d127aefbfb 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -385,8 +385,8 @@ bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device,
385 unsigned addr1, unsigned addr2) 385 unsigned addr1, unsigned addr2)
386 386
387{ 387{
388#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) 388#ifdef CPU_PP
389 /* TODO: Implement for iPod */ 389 /* TODO: Implement for PortalPlayer */
390 (void)p_manufacturer; 390 (void)p_manufacturer;
391 (void)p_device; 391 (void)p_device;
392 (void)addr1; 392 (void)addr1;
diff --git a/apps/playback.c b/apps/playback.c
index 9bf6942e7f..9d03cd266c 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -167,7 +167,7 @@ enum {
167#endif 167#endif
168 168
169/* As defined in plugin.lds */ 169/* As defined in plugin.lds */
170#if CONFIG_CPU == PP5020 || CONFIG_CPU == PP5002 170#if defined(CPU_PP)
171#define CODEC_IRAM_ORIGIN 0x4000c000 171#define CODEC_IRAM_ORIGIN 0x4000c000
172#define CODEC_IRAM_SIZE 0xc000 172#define CODEC_IRAM_SIZE 0xc000
173#elif defined(IAUDIO_X5) 173#elif defined(IAUDIO_X5)
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index f72059c107..ef0dece36f 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -20,10 +20,6 @@ OUTPUT_FORMAT(elf32-sh)
20#define ARCH_IRIVER 20#define ARCH_IRIVER
21#endif 21#endif
22 22
23#if (CONFIG_CPU==PP5002) || (CONFIG_CPU==PP5020)
24#define ARCH_IPOD
25#endif
26
27#ifdef ARCH_IRIVER 23#ifdef ARCH_IRIVER
28#define DRAMORIG 0x31000000 24#define DRAMORIG 0x31000000
29#define IRAMORIG 0x1000c000 25#define IRAMORIG 0x1000c000
@@ -32,7 +28,7 @@ OUTPUT_FORMAT(elf32-sh)
32#define DRAMORIG 0x31000000 28#define DRAMORIG 0x31000000
33#define IRAMORIG 0x10010000 29#define IRAMORIG 0x10010000
34#define IRAMSIZE 0x10000 30#define IRAMSIZE 0x10000
35#elif defined(ARCH_IPOD) 31#elif defined(CPU_PP)
36#define DRAMORIG 0x00000000 32#define DRAMORIG 0x00000000
37#define IRAMORIG 0x4000c000 33#define IRAMORIG 0x4000c000
38#define IRAMSIZE 0xc000 34#define IRAMSIZE 0xc000
@@ -77,7 +73,7 @@ SECTIONS
77 .text : 73 .text :
78 { 74 {
79 *(.text*) 75 *(.text*)
80#if (CONFIG_CPU==PP5020) || (CONFIG_CPU==PNX0101) || (CONFIG_CPU==PP5002) 76#if defined(CPU_PP) || (CONFIG_CPU==PNX0101)
81 *(.glue_7) 77 *(.glue_7)
82 *(.glue_7t) 78 *(.glue_7t)
83#endif 79#endif