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 | |
parent | e4789b0d5b354ac27f3879276ce92a7e169328ad (diff) | |
download | u-boot-f2f8e90034b2bfc501c1f59106a33adfd6b0c85c.zip u-boot-f2f8e90034b2bfc501c1f59106a33adfd6b0c85c.tar.gz u-boot-f2f8e90034b2bfc501c1f59106a33adfd6b0c85c.tar.bz2 |
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 9978283..32999f9 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 90372f2..ed74c27 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 |