diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:10 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 17:53:52 -0500 |
commit | 4d979bfdbc9dd9c4fcfc824754c9bd2109261a2b (patch) | |
tree | 03b19d10dea5290f62205016445b16acccf3b3de /include | |
parent | 6df75135b56afbc060e5979477e71e0b95e0dad5 (diff) | |
download | u-boot-4d979bfdbc9dd9c4fcfc824754c9bd2109261a2b.tar.gz |
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')
-rw-r--r-- | include/common.h | 4 | ||||
-rw-r--r-- | include/compiler.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h index 997828311e..32999f9cbf 100644 --- a/include/common.h +++ b/include/common.h @@ -35,10 +35,6 @@ #include <flash.h> #include <image.h> -#ifdef __LP64__ -#define CONFIG_SYS_SUPPORT_64BIT_DATA -#endif - #include <log.h> #include <asm/u-boot.h> /* boot information for Linux kernel */ 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 |