aboutsummaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorTom Rini2016-03-15 13:20:23 -0400
committerSimon Glass2016-04-15 08:14:37 -0600
commit690d8a92c1f74115f954202023443d6869bac738 (patch)
tree08737fc66749b8cc792394822efff9f70cc1f36b /arch/sandbox
parentf09144a220ce71d628830f7ccadeacd0cfdf6d76 (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')
-rw-r--r--arch/sandbox/include/asm/cache.h1
-rw-r--r--arch/sandbox/include/asm/io.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/cache.h b/arch/sandbox/include/asm/cache.h
index ffbb9844ebb..a545e4b2a1f 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 5b87fde1161..b87ee19427f 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