diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2006-01-31 10:08:53 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2006-01-31 10:08:53 +0000 |
commit | de281db7e7dee08301b22ad79a7752588691b66f (patch) | |
tree | 23d8cb89722611621b6e3851fce240272ddc1073 /firmware/export/config.h | |
parent | 1446b210eb928607eb257c63d2c100fc15650d17 (diff) | |
download | rockbox-de281db7e7dee08301b22ad79a7752588691b66f.tar.gz rockbox-de281db7e7dee08301b22ad79a7752588691b66f.zip |
Now dircache should work on players requiring long aligned memory
accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8502 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 8df596665f..8ce7ee61a3 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -160,6 +160,12 @@ | |||
160 | #define HAVE_DIRCACHE 1 | 160 | #define HAVE_DIRCACHE 1 |
161 | #endif | 161 | #endif |
162 | 162 | ||
163 | /* Determine if accesses should be strictly long aligned. */ | ||
164 | #if (CONFIG_CPU == SH7034) || (CONFIG_CPU == PNX0101) \ | ||
165 | || (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) | ||
166 | #define ROCKBOX_STRICT_ALIGN 1 | ||
167 | #endif | ||
168 | |||
163 | /* define for all cpus from coldfire family */ | 169 | /* define for all cpus from coldfire family */ |
164 | #if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250) | 170 | #if (CONFIG_CPU == MCF5249) || (CONFIG_CPU == MCF5250) |
165 | #define CPU_COLDFIRE | 171 | #define CPU_COLDFIRE |