summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-06 14:47:38 +0300
committerTom Rini <trini@konsulko.com>2018-09-11 03:48:16 +0300
commit9865543ae65d7c9a435eedfc6a0ba23efb291121 (patch)
tree30e56d39a99e2bd49237472f4545e249704764f2 /include/compiler.h
parentde39dc71625d1a66cc611d1a85bf53545cba60a3 (diff)
downloadu-boot-9865543ae65d7c9a435eedfc6a0ba23efb291121.tar.xz
Remove CONFIG_USE_STDINT
You do not need to use the typedefs provided by compiler. Our compilers are either IPL32 or LP64. Hence, U-Boot can/should always use int-ll64.h typedefs like Linux kernel, whatever the typedefs the compiler internally uses. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/compiler.h b/include/compiler.h
index 957f4b5d49..29507f9840 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -120,13 +120,8 @@ typedef unsigned int uint;
#else /* !USE_HOSTCC */
-#ifdef CONFIG_USE_STDINT
-/* Provided by gcc. */
-#include <stdint.h>
-#else
/* Type for `void *' pointers. */
typedef unsigned long int uintptr_t;
-#endif
#include <linux/string.h>
#include <linux/types.h>