diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-02 06:54:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-02 06:54:31 +0000 |
commit | 6dbdfd8e8407426d96e9e2307d0462112a6f3633 (patch) | |
tree | 2be5fc2642f7bef3ed508ef0ac9752e14c9be38c /firmware | |
parent | 967f4939c738f75662d8f013b5a16aab0f10e6c0 (diff) | |
download | rockbox-6dbdfd8e8407426d96e9e2307d0462112a6f3633.tar.gz rockbox-6dbdfd8e8407426d96e9e2307d0462112a6f3633.zip |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index fc33601355..408e9a28a7 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -210,8 +210,13 @@ | |||
210 | #define CPU_COLDFIRE | 210 | #define CPU_COLDFIRE |
211 | #endif | 211 | #endif |
212 | 212 | ||
213 | /* define for all cpus from PP family */ | ||
214 | #if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5024) | ||
215 | #define CPU_PP | ||
216 | #endif | ||
217 | |||
213 | /* define for all cpus from ARM family */ | 218 | /* define for all cpus from ARM family */ |
214 | #if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) || (CONFIG_CPU == PP5024) | 219 | #if defined(CPU_PP) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) |
215 | #define CPU_ARM | 220 | #define CPU_ARM |
216 | #endif | 221 | #endif |
217 | 222 | ||