From 4d979bfdbc9dd9c4fcfc824754c9bd2109261a2b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:10 -0700 Subject: 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 --- include/common.h | 4 ---- include/compiler.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/common.h b/include/common.h index 997828311e1..32999f9cbf2 100644 --- a/include/common.h +++ b/include/common.h @@ -35,10 +35,6 @@ #include #include -#ifdef __LP64__ -#define CONFIG_SYS_SUPPORT_64BIT_DATA -#endif - #include #include /* boot information for Linux kernel */ 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 -- cgit v1.2.3