projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: zynq: Run distribution boot commands first
[oweals/u-boot.git]
/
include
/
compiler.h
diff --git
a/include/compiler.h
b/include/compiler.h
index a43fb6a7386176ce556a60f04d0a2c19996e5745..29507f9840e0dcbc72ea4c6961b65971f1149bb5 100644
(file)
--- a/
include/compiler.h
+++ b/
include/compiler.h
@@
-50,6
+50,9
@@
typedef unsigned long ulong;
#endif
#ifdef __FreeBSD__
# include <sys/endian.h> /* htole32 and friends */
#endif
#ifdef __FreeBSD__
# include <sys/endian.h> /* htole32 and friends */
+# define __BYTE_ORDER BYTE_ORDER
+# define __LITTLE_ENDIAN LITTLE_ENDIAN
+# define __BIG_ENDIAN BIG_ENDIAN
#elif defined(__OpenBSD__)
# include <endian.h>
# define __BYTE_ORDER BYTE_ORDER
#elif defined(__OpenBSD__)
# include <endian.h>
# define __BYTE_ORDER BYTE_ORDER
@@
-117,13
+120,8
@@
typedef unsigned int uint;
#else /* !USE_HOSTCC */
#else /* !USE_HOSTCC */
-#ifdef CONFIG_USE_STDINT
-/* Provided by gcc. */
-#include <stdint.h>
-#else
/* Type for `void *' pointers. */
typedef unsigned long int uintptr_t;
/* Type for `void *' pointers. */
typedef unsigned long int uintptr_t;
-#endif
#include <linux/string.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/types.h>