Skip to content
Snippets Groups Projects
  • Masahiro Yamada's avatar
    b38ad663
    tools: use files from scripts/dtc/libfdt where possible · b38ad663
    Masahiro Yamada authored
    
    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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    b38ad663
    History
    tools: use files from scripts/dtc/libfdt where possible
    Masahiro Yamada authored
    
    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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>