18 Jan, 2020
1 commit
-
This file already has lots of type declarations so it seems better to put
all of them there.Move them.
Signed-off-by: Simon Glass
09 Dec, 2019
1 commit
-
unsigned char should be called uchar and not unchar.
This fixes a build error in lib/crypto/x509_cert_parser.c.
Signed-off-by: Heinrich Schuchardt
29 Oct, 2019
1 commit
-
'struct ustat' uses linux-specific typedefs to declare its memebers:
__kernel_daddr_t and __kernel_ino_t. It is currently not used by any
U-Boot codes, but when we build U-Boot tools for other platform like
Windows, this becomes a problem.Let's surround it with __linux__.
Signed-off-by: Bin Meng
15 Dec, 2018
1 commit
-
The BITMAP related operations can now be moved to ./include/linux/bitmap.h
file to mimic the Linux kernel directory tree.This change also allows to remove the lin_gadget_compat.h header file
(which is a legacy code only for composite U-boot layer).
It was also possible to remove #includes from several USB gadget drivers.Signed-off-by: Lukasz Majewski
Reviewed-by: Stefan Agner
11 Sep, 2018
1 commit
-
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
17 Nov, 2017
1 commit
-
Add this typedef in the same place as in Linux. This is necessary
to refactor libfdt inclusion.U-Boot also defines it in include/compiler.h. Of course it should
not do that, but I do not want to open a can of worms.Signed-off-by: Masahiro Yamada
15 Jul, 2016
1 commit
-
Currently, this is only defined in arch/arm/include/asm/types.h,
so move it to include/linux/types.h to make it available for all
architectures.I defined it with phys_addr_t as Linux does. I needed to surround
the define with #ifdef __KERNEL__ ... #endif to avoid build errors
in tools building. (Host tools should not include
in the first place, but this is already messy in U-Boot...)Signed-off-by: Masahiro Yamada
Reviewed-by: Simon Glass
16 Dec, 2015
1 commit
-
This reverts commit e8f954a756a825130d11b9c8fca70101dd8b3ac5, which
causes compiling errors on 32-bit hosts.Acked-by: Aneesh Bansal
Signed-off-by: York Sun
15 Dec, 2015
1 commit
-
uintptr_t which is a typdef for unsigned long is needed for creating
pointers (32 or 64 bit depending on Core) from 32 bit variables
storing the address.
If a 32 bit variable (u32) is typecasted to a pointer (void *),
compiler gives a warning in case size of pointer on the core is 64 bit.The typdef has been moved from include/compiler.h to include/linux/types.h
Signed-off-by: Aneesh Bansal
Reviewed-by: York Sun
05 Aug, 2015
1 commit
-
These will be used for efi.h both for U-Boot running as an EFI application
and as a payload. They come from Linux 4.1.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
27 Oct, 2014
1 commit
-
There's a definition in stdint.h (provided by gcc) which will be more correct
if available.Define CONFIG_USE_STDINT to use this feature, or USE_STDINT=1 on the 'make'
commmand.This adjusts the settings for x86 and sandbox, with both have 64-bit options.
Signed-off-by: Gabe Black
Reviewed-by: Gabe Black
Tested-by: Gabe Black
Reviewed-by: Bill Richardson
Rewritten to be an option, since stdint.h is often available only in glibc.
Changed to preserve a clear boundary between stdint and non-stdint
Signed-off-by: Simon Glass
09 Nov, 2013
1 commit
-
Linux Kernel abolished include/linux/config.h long time ago.
(around version v2.6.18..v2.6.19)We don't need to provide Linux copatibility any more.
This commit deletes include/linux/config.h
and fixes source files not to include this.Signed-off-by: Masahiro Yamada
02 Apr, 2013
1 commit
-
'bool' is defined in random places. This patch consolidates them into a
single header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef and enum are removed. They are all consistent with
true = 1, false = 0.Replace FALSE, False with false. Replace TRUE, True with true.
Skip *.py, *.php, lib/* files.Signed-off-by: York Sun
20 Nov, 2008
1 commit
-
This patch adds basic UBI (Unsorted Block Image) support to U-Boot.
It's based on the Linux UBI version and basically has a "OS"
translation wrapper that defines most Linux specific calls
(spin_lock() etc.) into no-ops. Some source code parts have been
uncommented by "#ifdef UBI_LINUX". This makes it easier to compare
this version with the Linux version and simplifies future UBI
ports/bug-fixes from the Linux version.Signed-off-by: Kyungmin Park
Signed-off-by: Stefan Roese
21 Aug, 2000
1 commit