From 690d8a92c1f74115f954202023443d6869bac738 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 15 Mar 2016 13:20:23 -0400 Subject: sandbox: Enable many more commands - Set CONFIG_SYS_CACHELINE_SIZE to ARCH_DMA_MINALIGN as that should be good enough. - Make include like other arches do - Enable many many more drivers in sandbox_defconfig so that we can get more build-time testing on this platform. Cc: Simon Glass Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- arch/sandbox/include/asm/cache.h | 1 + arch/sandbox/include/asm/io.h | 1 + 2 files changed, 2 insertions(+) (limited to 'arch/sandbox/include/asm') diff --git a/arch/sandbox/include/asm/cache.h b/arch/sandbox/include/asm/cache.h index ffbb9844eb..a545e4b2a1 100644 --- a/arch/sandbox/include/asm/cache.h +++ b/arch/sandbox/include/asm/cache.h @@ -20,5 +20,6 @@ #else #define ARCH_DMA_MINALIGN 16 #endif +#define CONFIG_SYS_CACHELINE_SIZE ARCH_DMA_MINALIGN #endif /* __SANDBOX_CACHE_H__ */ diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h index 5b87fde116..b87ee19427 100644 --- a/arch/sandbox/include/asm/io.h +++ b/arch/sandbox/include/asm/io.h @@ -57,5 +57,6 @@ void outw(unsigned int value, unsigned int addr); void outb(unsigned int value, unsigned int addr); #include +#include #endif -- cgit