summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-03-15 13:20:23 -0400
committerSimon Glass <sjg@chromium.org>2016-04-15 08:14:37 -0600
commit690d8a92c1f74115f954202023443d6869bac738 (patch)
tree08737fc66749b8cc792394822efff9f70cc1f36b /arch
parentf09144a220ce71d628830f7ccadeacd0cfdf6d76 (diff)
downloadu-boot-imx-690d8a92c1f74115f954202023443d6869bac738.zip
u-boot-imx-690d8a92c1f74115f954202023443d6869bac738.tar.gz
u-boot-imx-690d8a92c1f74115f954202023443d6869bac738.tar.bz2
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')
-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 ffbb984..a545e4b 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 5b87fde..b87ee19 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