summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-02 06:54:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-02 06:54:31 +0000
commit6dbdfd8e8407426d96e9e2307d0462112a6f3633 (patch)
tree2be5fc2642f7bef3ed508ef0ac9752e14c9be38c
parent967f4939c738f75662d8f013b5a16aab0f10e6c0 (diff)
downloadrockbox-6dbdfd8e8407426d96e9e2307d0462112a6f3633.zip
rockbox-6dbdfd8e8407426d96e9e2307d0462112a6f3633.tar.gz
rockbox-6dbdfd8e8407426d96e9e2307d0462112a6f3633.tar.bz2
rockbox-6dbdfd8e8407426d96e9e2307d0462112a6f3633.tar.xz
introducing CPU_PP as a define to check for PortalPlayer chips with
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10404 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index fc33601..408e9a2 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -210,8 +210,13 @@
#define CPU_COLDFIRE
#endif
+/* define for all cpus from PP family */
+#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5024)
+#define CPU_PP
+#endif
+
/* define for all cpus from ARM family */
-#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) || (CONFIG_CPU == PP5024)
+#if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440)
#define CPU_ARM
#endif