From 6dbdfd8e8407426d96e9e2307d0462112a6f3633 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 2 Aug 2006 06:54:31 +0000 Subject: 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 --- firmware/export/config.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'firmware') 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 @@ #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 -- cgit v1.2.3