29 Jan, 2018
1 commit
-
Several host-tools use "bool" type without including .
This relies on the crappy header inclusion chain.tools/Makefile has the following line:
HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \
All host-tools are forced to include libfdt_env.h even if they are
totally unrelated to FDT. Then, is indirectly included
as follows:include/libfdt_env.h
-> include/linux/types.h
->I am fixing this horrible crap. In advance, I need to add necessary
include directives explicitly. tools/fdtgrep.c needs more;
for open() and for errno.Signed-off-by: Masahiro Yamada
Reviewed-by: Joe Hershberger
Reviewed-by: Simon Glass
08 Feb, 2017
1 commit
-
This patch adds a little tool that takes a generic MAC address and
generates a CRC byte for it. The output is the full MAC address without
any separators, ready written into an EEPROM.Signed-off-by: Olliver Schinagl
Signed-off-by: Olliver Schinagl
Acked-by: Joe Hershberger