summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-25 19:19:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-25 19:19:52 +0200
commitfd4c51aa28acfd61e1802cb5ab1197d808e7da82 (patch)
tree13ea69c5a85b1810e30632dcaa27f78f2317b7da /arch/sandbox
parent8ee6700a4c39fe7031ef977aa4e0c208366e13dc (diff)
parent2ca512e5923bb2d66a13211af9401c53735052b2 (diff)
downloadbarebox-fd4c51aa28acfd61e1802cb5ab1197d808e7da82.tar.gz
barebox-fd4c51aa28acfd61e1802cb5ab1197d808e7da82.tar.xz
Merge branch 'pu/sandbox-fixes'
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/include/asm/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h
index a9872194d9..d471d257be 100644
--- a/arch/sandbox/include/asm/types.h
+++ b/arch/sandbox/include/asm/types.h
@@ -7,6 +7,13 @@
* 64 bit
*/
#define INTERNAL_SIZE_T unsigned long
+
+/*
+ * This is a Kconfig variable in the Kernel, but we want to detect
+ * this during compile time, so we set it here.
+ */
+#define CONFIG_PHYS_ADDR_T_64BIT
+
#endif
typedef unsigned short umode_t;