diff options
author | Tom Rini <trini@konsulko.com> | 2016-03-15 13:20:23 -0400 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-04-15 08:14:37 -0600 |
commit | 690d8a92c1f74115f954202023443d6869bac738 (patch) | |
tree | 08737fc66749b8cc792394822efff9f70cc1f36b /arch/sandbox/include/asm | |
parent | f09144a220ce71d628830f7ccadeacd0cfdf6d76 (diff) |
sandbox: Enable many more commands
- Set CONFIG_SYS_CACHELINE_SIZE to ARCH_DMA_MINALIGN as that should be
good enough.
- Make <asm/io.h> include <asm/types.h> 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 <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/include/asm')
-rw-r--r-- | arch/sandbox/include/asm/cache.h | 1 | ||||
-rw-r--r-- | arch/sandbox/include/asm/io.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 <iotrace.h> +#include <asm/types.h> #endif |