Skip to content
Snippets Groups Projects
Commit 144fbea9 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 25ad202d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment