diff --git a/arch/powerpc/include/asm/cache.h b/arch/powerpc/include/asm/cache.h index 53e8d05f50b1a251484e8be719ab216350e1c6b5..e6b8f69b7657822975a773859e5b0af2fd5d8720 100644 --- a/arch/powerpc/include/asm/cache.h +++ b/arch/powerpc/include/asm/cache.h @@ -20,6 +20,12 @@ #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) +/* + * Use the L1 data cache line size value for the minimum DMA buffer alignment + * on PowerPC. + */ +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + /* * For compatibility reasons support the CONFIG_SYS_CACHELINE_SIZE too */