diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/system.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index f554ac7cf1..9558be559a 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h | |||
@@ -307,8 +307,8 @@ static inline void cpu_boost_unlock(void) | |||
307 | 307 | ||
308 | /* Define MEM_ALIGN_ATTR which may be used to align e.g. buffers for faster | 308 | /* Define MEM_ALIGN_ATTR which may be used to align e.g. buffers for faster |
309 | * access. */ | 309 | * access. */ |
310 | #if defined(CPU_ARM) | 310 | #if defined(HAVE_CPU_CACHE_ALIGN) |
311 | /* Use ARMs cache alignment. */ | 311 | /* Align to a cache line. */ |
312 | #define MEM_ALIGN_ATTR CACHEALIGN_ATTR | 312 | #define MEM_ALIGN_ATTR CACHEALIGN_ATTR |
313 | #define MEM_ALIGN_SIZE CACHEALIGN_SIZE | 313 | #define MEM_ALIGN_SIZE CACHEALIGN_SIZE |
314 | #elif defined(CPU_COLDFIRE) | 314 | #elif defined(CPU_COLDFIRE) |