summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/include/asm/io.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-04-26 02:53:43 +0000
committerTom Rini <trini@ti.com>2013-05-01 11:17:21 -0400
commita733b06b69d2cb058c4363952bc0793b1f514305 (patch)
treefad133d79d212e9686b69bef9a0f6dc9b8e1196f /arch/sandbox/include/asm/io.h
parent781adb5710694601e8ceb01256becea142c5ba6c (diff)
downloadtalos-obmc-uboot-a733b06b69d2cb058c4363952bc0793b1f514305.tar.gz
talos-obmc-uboot-a733b06b69d2cb058c4363952bc0793b1f514305.zip
sandbox: Switch over to generic board
Add generic board support for sandbox. and remove the old board init code. Select CONFIG_SYS_GENERIC_BOARD for sandbox now that this is supported. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/sandbox/include/asm/io.h')
-rw-r--r--arch/sandbox/include/asm/io.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index 54051a3bbb..0c022f1db5 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -20,6 +20,9 @@
* MA 02111-1307 USA
*/
+#ifndef __SANDBOX_ASM_IO_H
+#define __SANDBOX_ASM_IO_H
+
/*
* Given a physical address and a length, return a virtual address
* that can be used to access the memory range with the caching
@@ -52,3 +55,5 @@ static inline void unmap_sysmem(const void *vaddr)
/* Map from a pointer to our RAM buffer */
phys_addr_t map_to_sysmem(void *ptr);
+
+#endif
OpenPOWER on IntegriCloud