From de281db7e7dee08301b22ad79a7752588691b66f Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Tue, 31 Jan 2006 10:08:53 +0000 Subject: 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 --- firmware/export/config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export/config.h') 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 @@ #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 -- cgit v1.2.3