Files
Nicholas Piggin 301b3f782e libfdt: sync to upstream dtc.git commit 45f3d1a095dd
sync to upstream dtc.git commit 45f3d1a095dd ("libfdt: overlay: make
overlay_get_target() public") from previous upstream sync commit 243176c
("Fix bogus error on rebuild"). This mainly updates license headers,
fixes one or two small bugs, sign mismatches, integer overflow, and
cases of undefined behaviour, compile warnings for newer compilers, and
introduces some checking options (which might be useful to speed up fdt
operations on awan).

The recipe for this patch is:

  $ cp ../dtc/libfdt/* libfdt/
  $ git add libfdt/fdt_check.c
  $ rm libfdt/meson.build

  Then add the INT32_MAX define to libc/include/limits.h, and update
  libfdt/Makefile.inc and libfdt/README.skiboot.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-12-09 11:09:01 +01:00
..
2014-07-02 15:36:20 +10:00

skiboot/libfdt/ is a minimally modified version of upstream libfdt that is
distributed with the dtc project hosted at github.com/dgibson/dtc.git.

This version is taken from dtc.git commit 45f3d1a095dd ("libfdt: overlay: make
overlay_get_target() public") by copying all files from the libfdt/ directory.

The only modifications from the upstream source are the additions of this
file, and Makefile.inc which has been derived from Makefile.libfdt, and
the removal of meson.build.

Local libfdt changes should be kept to a minimum, and submitted upstream if
possible.