This set of patches fixes the way we parse the stdout-path which is used to set up the console. Prior to this, the code ignored the fact that stdout-path is made of the path to the uart node as well as parameters and as a result it would fail to find the relevant DT node. In addition to minor fixes in the device tree code, this series pulls a new version of libfdt from upstream. Thanks, Nikos Nikos Nikoleris (4): lib/string: add strnlen and strrchr libfdt: Pull v1.6.0 Makefile: Avoid double definition of libfdt_clean devicetree: Parse correctly the stdout-path lib/libfdt/README | 3 +- Makefile | 12 +- lib/libfdt/Makefile.libfdt | 10 +- lib/libfdt/version.lds | 24 +- lib/libfdt/fdt.h | 53 +-- lib/libfdt/libfdt.h | 766 +++++++++++++++++++++++++----- lib/libfdt/libfdt_env.h | 109 ++--- lib/libfdt/libfdt_internal.h | 206 +++++--- lib/string.h | 5 +- lib/devicetree.c | 15 +- lib/libfdt/fdt.c | 200 +++++--- lib/libfdt/fdt_addresses.c | 101 ++++ lib/libfdt/fdt_check.c | 74 +++ lib/libfdt/fdt_empty_tree.c | 48 +- lib/libfdt/fdt_overlay.c | 881 +++++++++++++++++++++++++++++++++++ lib/libfdt/fdt_ro.c | 512 +++++++++++++++----- lib/libfdt/fdt_rw.c | 231 +++++---- lib/libfdt/fdt_strerror.c | 53 +-- lib/libfdt/fdt_sw.c | 297 ++++++++---- lib/libfdt/fdt_wip.c | 90 ++-- lib/string.c | 30 +- 21 files changed, 2890 insertions(+), 830 deletions(-) create mode 100644 lib/libfdt/fdt_addresses.c create mode 100644 lib/libfdt/fdt_check.c create mode 100644 lib/libfdt/fdt_overlay.c -- 2.25.1