[U-Boot] [PATCH v2 0/4] Fix default values for address and size cells

matthias.bgg at kernel.org matthias.bgg at kernel.org
Thu Sep 5 08:48:45 UTC 2019


From: Matthias Brugger <mbrugger at suse.com>

The libftd implementation of U-Boot is outdated with the
upstream project. Especially the default number of size-cells
was wrong. This series fixes this by backporting the corresponding
patches from the upstream project.

Changes since v1:
- fix spelling of U-Boot (patch 1 + 2 /4)
- add Reviewed-by tag (patch 1/4)
- fix the case of size-cells == 0 (patch 3/4)
- fix default address cells for livetree (patch 4/4)

v1 can be found here:
https://patchwork.ozlabs.org/patch/1137331/
https://patchwork.ozlabs.org/patch/1137330/


Matthias Brugger (4):
  libfdt: fdt_address_cells() and fdt_size_cells()
  libfdt: return correct value if #size-cells property is not present
  libfdt: Allow #size-cells of 0
  dm: Fix default address cells return value

 include/dm/of.h                    |  2 +-
 scripts/dtc/libfdt/fdt_addresses.c | 45 ++++++++++++++++--------------
 scripts/dtc/libfdt/libfdt.h        |  2 +-
 3 files changed, 26 insertions(+), 23 deletions(-)

-- 
2.22.0



More information about the U-Boot mailing list