05 Mar, 2018
1 commit
-
Thomas reported U-Boot failed to build host tools if libfdt-devel
package is installed because tools include libfdt headers from
/usr/include/ instead of using internal ones.This commit moves the header code:
include/libfdt.h -> include/linux/libfdt.h
include/libfdt_env.h -> include/linux/libfdt_env.hand replaces include directives:
#include -> #include
#include -> #includeReported-by: Thomas Petazzoni
Signed-off-by: Masahiro Yamada
06 Oct, 2017
2 commits
-
If the dtb is the first data of the FIT, the its offset is 0x0. Change the
test to '
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass -
Those 2 functions don't modify their input, we can mark it const.
This prevents compilation warnings when they are provided const input.Signed-off-by: Jean-Jacques Hiblot
Reviewed-by: Tom Rini
Reviewed-by: Simon Glass
14 Aug, 2017
1 commit
-
FDT_ERROR is defined as unsigned long. However, since the return value of
fdt_offset() is int, a warning will occur when compiling. Also, it is better
to use -EINVAL than FDT_ERROR.
This fixes this problem by change return value from FDT_ERROR to -EINVAL.Signed-off-by: Nobuhiro Iwamatsu
CC: Franklin S Cooper Jr
Reviewed-by: Franklin S Cooper Jr
11 Jul, 2017
1 commit
-
Some platforms may append a FIT image to the U-boot image. This function
aids in parsing the FIT image and selecting the correct DTB at runtime.Signed-off-by: Franklin S Cooper Jr
Reviewed-by: Tom Rini