[U-Boot] [PATCH 0/5] libfdt: Reduce duplicated copies of libfdt

Masahiro Yamada yamada.masahiro at socionext.com
Tue Nov 7 03:12:03 UTC 2017


2017-10-17 22:30 GMT+09:00 Masahiro Yamada <yamada.masahiro at socionext.com>:
> Recently, U-Boot switched to the bundled DTC approach.
> This means we have two copies, lib/libfdt and scripts/dtc/libfdt.
>
> Ideally, we should change lib/libfdt to #include scripts/dtc/libfdt.
>
> One big problem is lib/libfdt is locally modified
> (fdt_ro.c  fdt_wip.c fdt_rw.c) and makes our life difficult.
>
> For now I synced only 6 files.
>
> This series depends on
> "pylibfdt: compile pylibfdt in scripts/dtc/pylibfdt only when necessary"
> http://patchwork.ozlabs.org/project/uboot/list/?series=8554
>
>
>
> Masahiro Yamada (5):
>   libfdt: change fdt.h to a wrapper of scripts/dtc/libfdt/*
>   libfdt: change libfdt_internal.h to a wrapper of scripts/dtc/libfdt/*
>   tools: use files from scripts/dtc/libfdt where possible
>   linux/types.h: add typedef of uintptr_t
>   lib: libfdt: wrap scripts/dtc/libfdt/* where possible
>


This series does not cleanly apply any more.

Tom,
Do you need v2?



-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list