From e9721bff5822b474efc457720212d68293f95a14 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Sun, 26 Mar 2006 18:24:36 +0000 Subject: Use ROCKBOX_STRICT_ALIGN for all ARM targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9265 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config.h b/firmware/export/config.h index 20ca7aa5c6..5ac333d5e4 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -181,12 +181,6 @@ #define HAVE_DIRCACHE 1 #endif -/* Determine if accesses should be strictly long aligned. */ -#if (CONFIG_CPU == SH7034) || (CONFIG_CPU == PNX0101) \ - || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) -#define ROCKBOX_STRICT_ALIGN 1 -#endif - /* define for all cpus from coldfire family */ #if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250) #define CPU_COLDFIRE @@ -194,10 +188,14 @@ /* define for all cpus from ARM family */ #if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) - #define CPU_ARM #endif +/* Determine if accesses should be strictly long aligned. */ +#if (CONFIG_CPU == SH7034) || (CONFIG_CPU == CPU_ARM) +#define ROCKBOX_STRICT_ALIGN 1 +#endif + #ifndef CODEC_SIZE #define CODEC_SIZE 0 #endif -- cgit v1.2.3