]> git.dujemihanovic.xyz Git - u-boot.git/commit
libfdt: migrate libfdt.h to a wrapper + U-Boot own code
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 21 Jan 2018 10:19:17 +0000 (19:19 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 28 Jan 2018 17:27:31 +0000 (12:27 -0500)
commit144fbea96952b4959d5a11f9ab61e0e645e9eb5b
treeccabd4c6be21677afeb508bc60fce6ab9bee505d
parent25ad202dd3268c3bda692de83485ca7649f2a57c
libfdt: migrate libfdt.h to a wrapper + U-Boot own code

There is tons of code duplication between lib/libfdt/libfdt.h and
scripts/dtc/libfdt/libfdt.h.  Evacuate the U-Boot own code to
include/libfdt.h and remove lib/libfdt/libfdt.h.

For host tools, <libfdt.h> should include scripts/dtc/libfdt/libfdt.h,
which is already suitable for user-space.

For compiling U-Boot, <linux/libfdt.h> should be included because we
need a different libfdt_env.h .

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/libfdt.h
lib/libfdt/libfdt.h [deleted file]