22 Nov, 2011
1 commit
-
If uintptr_t can be either an unsigned int or an unsigned long int, it is
tricky to use it in a printf() format string. This changes it to
unsigned long int consistently. This should do the right thing on both
32-bit and 64-bit architectures.Signed-off-by: Simon Glass
Acked-by: Mike Frysinger
18 Oct, 2011
1 commit
-
This sets __WORDSIZE to 8 correctly on 64-bit machines.
Signed-off-by: Simon Glass
29 Jul, 2011
1 commit
-
Signed-off-by: Jeroen Hofstee
07 Oct, 2010
1 commit
-
uint is typedefed twice if __MACH__ is defined. This generates an error
when calling MAKEALL for netstar bord on OS X.This patch removes the typedef for __MACH__ case in favor of general
definiton some lines below.Signed-off-by: Andreas Bießmann
20 Jun, 2010
1 commit
-
Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
a "#include " and a "extern int errno;" to include/compiler.h
which is causing build warnings for some systems, for example for the
"netstar" board:In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
include/compiler.h:28: warning: function declaration isn't a prototypeThe declaration of "errno" should be redundant, as is
supposed to provide a correct declaration, so drop it.Signed-off-by: Wolfgang Denk
Cc: Mike Frysinger
06 May, 2010
1 commit
-
Recent crc changes started using the "uint" type in headers that are used
on the build system. This subsequently broke mingw targets as they do not
provide such a type. So add this basic typedef to compiler.h so that we
do not have to worry about this breaking again in the future.Signed-off-by: Mike Frysinger
18 Jan, 2010
1 commit
-
the macros likely and unlikely were defined in include/linux/mtd/compat.h,
but used in code not related to MTD. moved the macro definitions to compiler.hSigned-off-by: Matthias Kaehlcke
05 Sep, 2009
1 commit
-
This is needed so that we could use this macro for non-UBI code.
Signed-off-by: Anton Vorontsov
20 Jul, 2009
1 commit
-
Shove a lot of the HOSTCC and related #ifdef checking crap into the new
compiler.h header so that we can keep all other headers nice and clean.Also introduce custom uswap functions so we don't have to rely on the non
standard implementations that a host may (or may not in the case of OS X)
provide. This allows mkimage to finally build cleanly on an OS X system.Signed-off-by: Mike Frysinger