x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE
authorStefan Roese <sr@denx.de>
Mon, 18 Jul 2016 10:53:31 +0000 (12:53 +0200)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 16 Aug 2016 03:44:09 +0000 (11:44 +0800)
commitbf4ea7ed210f27df35315b8089662e84ba7dfadb
tree37929a9b77ae09cf4b73c169ea6b34e561e71197
parent37b4a9098c44f4dfc951c495bcc3439c2974b1db
x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE

Don't just define ARCH_DMA_MINALIGN but also CONFIG_SYS_CACHELINE_SIZE
if it's undefined. This is needed for the xhci driver to compile.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/cache.h