summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-03-26 18:24:36 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-03-26 18:24:36 +0000
commite9721bff5822b474efc457720212d68293f95a14 (patch)
treef5ff7d6a1efb785dd362612d7bf8eecf902b2399
parentde2f0705779386ad9a79ade0d4e874f04651ecf6 (diff)
downloadrockbox-e9721bff5822b474efc457720212d68293f95a14.zip
rockbox-e9721bff5822b474efc457720212d68293f95a14.tar.gz
rockbox-e9721bff5822b474efc457720212d68293f95a14.tar.bz2
rockbox-e9721bff5822b474efc457720212d68293f95a14.tar.xz
Use ROCKBOX_STRICT_ALIGN for all ARM targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9265 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 20ca7aa..5ac333d 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