Skip to content

fdt: Switch to the latest libfdt, sort-of

Simon Glass u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fdt: Add INT32_MAX to kernel.h for libfdtinclude/linux/kernel.h include/linux/libfdt_env.h+3 -02 replies
2/4fdt: Add Kconfig options to control code sizelib/Kconfig lib/libfdt/Makefile+35 -13 replies
2/4fdt: Add Kconfig options to control code size+0 -01 reply
3/4mx6: tbs2910: Minimise libfdt code sizeconfigs/tbs2910_defconfig+1 -01 reply
4/4fdt: Sync up to the latest libfdtlib/libfdt/fdt_ro.c scripts/dtc/libfdt/Makefile.libfdt scripts/dtc/libfdt/fdt.c +13 more+1275 -8713 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchTom Rini
1/4R-b R-b
2/4R-b R-b
2/4R-b R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] fdt: Switch to the latest libfdt, sort-of

This series brings over the latest libfdt with some changes to deal with the recent code-size bloat.

With this change U-Boot size increases about 2.5KB on 'rock' and SPL reduces by about 128 bytes. This should be acceptable.

The 'assumptions' series is still under review, so we can sync that up later when complete.

Simon Glass (4):
fdt: Add INT32_MAX to kernel.h for libfdt
fdt: Add Kconfig options to control code size
mx6: tbs2910: Minimise libfdt code size
fdt: Sync up to the latest libfdt

 configs/tbs2910_defconfig            |   1 +
 include/linux/kernel.h               |   2 +
 include/linux/libfdt_env.h           |   1 +
 lib/Kconfig                          |  33 +++
 lib/libfdt/Makefile                  |   3 +-
 lib/libfdt/fdt_ro.c                  | 420 ++++++++++++++++++++-------
 scripts/dtc/libfdt/Makefile.libfdt   |   7 +
 scripts/dtc/libfdt/fdt.c             | 182 ++++++++----
 scripts/dtc/libfdt/fdt.h             |  47 +--
 scripts/dtc/libfdt/fdt_addresses.c   |  94 +++---
 scripts/dtc/libfdt/fdt_empty_tree.c  |  47 +--
 scripts/dtc/libfdt/fdt_overlay.c     |  91 ++----
 scripts/dtc/libfdt/fdt_ro.c          | 341 +++++++++++++++-------
 scripts/dtc/libfdt/fdt_rw.c          | 119 ++++----
 scripts/dtc/libfdt/fdt_strerror.c    |  47 +--
 scripts/dtc/libfdt/fdt_sw.c          | 241 ++++++++++-----
 scripts/dtc/libfdt/fdt_wip.c         |  47 +--
 scripts/dtc/libfdt/libfdt.h          | 268 +++++++++++++----
 scripts/dtc/libfdt/libfdt_env.h      |  48 +--
 scripts/dtc/libfdt/libfdt_internal.h | 144 +++++----
 tools/libfdt/fdt_rw.c                |   3 +-
 21 files changed, 1314 insertions(+), 872 deletions(-)
Signature · 1 line
2.24.0.rc0.303.g954a862665-goog