diff options
author | Tom Rini <trini@konsulko.com> | 2018-11-20 12:36:47 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-20 12:39:16 -0500 |
commit | a3e1653ddeb02f39481eba572275016171e9670c (patch) | |
tree | ab620de093377355ef863ecfe4e1bfda9a9129c8 /include/common.h | |
parent | e070dc422d98cd232a928ceba87ac448854b8f25 (diff) | |
parent | 5bbf36af7ff6f4ff77d903320e95e5628c68884d (diff) |
Merge git://git.denx.de/u-boot-marvell
- Clearfog GT-8K support added by Baruch / Raheeb
- const and sizes cleanup (also in MIPS) from Baruch
- Minor cleanup to db-88f6820 from Chris
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/common.h b/include/common.h index 8b9f859c07..3f69943887 100644 --- a/include/common.h +++ b/include/common.h @@ -14,9 +14,6 @@ typedef volatile unsigned long vu_long; typedef volatile unsigned short vu_short; typedef volatile unsigned char vu_char; -/* Allow sharing constants with type modifiers between C and assembly. */ -#define _AC(X, Y) (X##Y) - #include <config.h> #include <errno.h> #include <time.h> @@ -541,16 +538,10 @@ int cpu_release(u32 nr, int argc, char * const argv[]); #else /* __ASSEMBLY__ */ -/* Drop a C type modifier (like in 3UL) for constants used in assembly. */ -#define _AC(X, Y) X - #endif /* __ASSEMBLY__ */ /* Put only stuff here that the assembler can digest */ -/* Declare an unsigned long constant digestable both by C and an assembler. */ -#define UL(x) _AC(x, UL) - #ifdef CONFIG_POST #define CONFIG_HAS_POST #ifndef CONFIG_POST_ALT_LIST |