[U-Boot] [U-Boot, 3/5] tools: use files from scripts/dtc/libfdt where possible

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


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

> Prior to this commit, tools/Makefile pulls all libfdt files from
> lib/libfdt.
> 
> 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
> 
> This commit changes them to #include ones from scripts/dtc/libfdt.
> 
> Unfortunately, U-Boot locally modified the following 3 files:
>   fdt_ro.c fdt_wip.c fdt_rw.c
> 
> I did not touch them in order to avoid unpredictable impact.
> 
> The fdt_region.c is U-Boot own file.  This is also borrowed from
> lib/libfdt/.
> 
> 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/57043a96/attachment.sig>


More information about the U-Boot mailing list