提交 0991701a 编写于 作者: A Anton Staaf 提交者: Wolfgang Denk

powerpc: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment

Signed-off-by: NAnton Staaf <robotboy@chromium.org>
Acked-by: NStefan Roese <sr@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Lukasz Majewski <l.majewski@samsung.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
上级 6fa6035f
......@@ -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
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册