[U-Boot] [PATCH 4/5] fdt_region: move fdt_region.c to common/ from lib/libfdt/

Simon Glass sjg at chromium.org
Fri Mar 23 14:30:54 UTC 2018


Hi Masahiro,

On 21 March 2018 at 03:03, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> My goal is to sync lib/libfdt/ with scripts/dtc/libfdt/, that is,
> make lib/libfdt/ contain only wrapper files.
>
> fdt_region.c was written only for U-Boot to implement the verified
> boot.  So, this belongs to the same group as common/fdt_support.c,
> which is a collection of U-Boot own fdt helpers.

Actually it was written for the fdtgrep tool as well, which was sent
upstream, but not accepted.

Perhaps I should try to send that again.

>
> Move lib/libfdt/fdt_region.c to common/fdt_region.c .  This is
> necessary only when CONFIG_(SPL_)_FIT_SIGNATURE is enabled.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> ---
>
>  common/Makefile                     | 2 ++
>  {lib/libfdt => common}/fdt_region.c | 0
>  lib/libfdt/Makefile                 | 3 ---
>  tools/Makefile                      | 5 +++--
>  4 files changed, 5 insertions(+), 5 deletions(-)
>  rename {lib/libfdt => common}/fdt_region.c (100%)

Regards,
Simon


More information about the U-Boot mailing list