summaryrefslogtreecommitdiff
path: root/firmware/export
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 /firmware/export
parentde2f0705779386ad9a79ade0d4e874f04651ecf6 (diff)
downloadrockbox-e9721bff5822b474efc457720212d68293f95a14.tar.gz
rockbox-e9721bff5822b474efc457720212d68293f95a14.zip
Use ROCKBOX_STRICT_ALIGN for all ARM targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9265 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-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 20ca7aa5c6..5ac333d5e4 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -181,12 +181,6 @@
181#define HAVE_DIRCACHE 1 181#define HAVE_DIRCACHE 1
182#endif 182#endif
183 183
184/* Determine if accesses should be strictly long aligned. */
185#if (CONFIG_CPU == SH7034) || (CONFIG_CPU == PNX0101) \
186 || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
187#define ROCKBOX_STRICT_ALIGN 1
188#endif
189
190/* define for all cpus from coldfire family */ 184/* define for all cpus from coldfire family */
191#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250) 185#if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250)
192#define CPU_COLDFIRE 186#define CPU_COLDFIRE
@@ -194,10 +188,14 @@
194 188
195/* define for all cpus from ARM family */ 189/* define for all cpus from ARM family */
196#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440) 190#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PNX0101) || (CONFIG_CPU == S3C2440)
197
198#define CPU_ARM 191#define CPU_ARM
199#endif 192#endif
200 193
194/* Determine if accesses should be strictly long aligned. */
195#if (CONFIG_CPU == SH7034) || (CONFIG_CPU == CPU_ARM)
196#define ROCKBOX_STRICT_ALIGN 1
197#endif
198
201#ifndef CODEC_SIZE 199#ifndef CODEC_SIZE
202#define CODEC_SIZE 0 200#define CODEC_SIZE 0
203#endif 201#endif