summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:10 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 17:53:52 -0500
commit4d979bfdbc9dd9c4fcfc824754c9bd2109261a2b (patch)
tree03b19d10dea5290f62205016445b16acccf3b3de /include/compiler.h
parent6df75135b56afbc060e5979477e71e0b95e0dad5 (diff)
common: Move and rename CONFIG_SYS_SUPPORT_64BIT_DATA
This is not really a CONFIG since it is not intended to be set by boards. Move it into the compiler header with other similar defines, and rename it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h
index 90372f239c..ed74c272b8 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -144,4 +144,8 @@ typedef unsigned long int uintptr_t;
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
+#ifdef __LP64__
+#define MEM_SUPPORT_64BIT_DATA
+#endif
+
#endif