[U-Boot] [U-Boot, v3, 5/6] libfdt: migrate libfdt.h to a wrapper + U-Boot own code

Tom Rini trini at konsulko.com
Sun Jan 28 18:54:09 UTC 2018


On Sun, Jan 21, 2018 at 07:19:17PM +0900, Masahiro Yamada wrote:

> 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 at socionext.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180128/0f14586e/attachment.sig>


More information about the U-Boot mailing list