[U-Boot] [U-Boot, 5/5] lib: libfdt: wrap scripts/dtc/libfdt/* where possible

Tom Rini trini at konsulko.com
Fri Nov 17 15:43:44 UTC 2017


On Tue, Oct 17, 2017 at 10:30:20PM +0900, Masahiro Yamada wrote:

> lib/libfdt/ and scripts/dtc/libfdt have the same copies for the
> followings 6 files:
>   fdt.c fdt_addresses.c fdt_empty_tree.c fdt_overlay.c fdt_strerr.c
>   fdt_sw.c
> 
> Make them a wrapper of scripts/dtc/libfdt/*.  This is exactly what
> Linux does to sync libfdt.  In order to make is possible, import
> <linux/libfdt.h> and <linux/libfdt_env.h> from Linux 4.14-rc5.
> 
> Unfortunately, U-Boot locally modified the following 3 files:
>   fdt_ro.c fdt_wip.c fdt_rw.c
> 
> The fdt_region.c is U-Boot own file.
> 
> I did not touch them in order to avoid unpredictable impact.
> 
> 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/20171117/cb3e6fab/attachment.sig>


More information about the U-Boot mailing list