diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:10 -0700 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-01-24 23:06:49 +0530 |
commit | f2f8e90034b2bfc501c1f59106a33adfd6b0c85c (patch) | |
tree | 6e70510976bc890e5cac495102a85b626a8acb37 /include/compiler.h | |
parent | e4789b0d5b354ac27f3879276ce92a7e169328ad (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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h index 90372f239c0..ed74c272b8c 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 |