All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] fdt: Move towards using ofnode for devicetree fixups
@ 2023-11-12 15:27 Simon Glass
  2023-11-12 15:27 ` [PATCH 1/7] boot: Drop size parameter from image_setup_libfdt() Simon Glass
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Simon Glass @ 2023-11-12 15:27 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Sean Edmond, Tom Rini, Simon Glass, Andy Fleming,
	Daniel Schwierzeck, Dhananjay Phadke, Eddie James,
	Heinrich Schuchardt, Hugo Villeneuve, Ilias Apalodimas,
	Jerry Van Baren, Marek Vasut, Mario Six, Mattijs Korpershoek,
	Patrice Chotard, Patrick Delaunay, Priyanka Jain, Safae Ouajih,
	Sean Anderson, Stefan Roese, Tobias Waldekranz, Wolfgang Denk

When large quantities of fixups are needed, using the livetree is more
efficient. In any case, the ofnode API is easier to use and read than
the lower-level libfdt functions.

This series tweaks the DT-fixup implementation a little, so that all of
the non-ofnode fixups happen before the ofnode fixups. This should make
it possible to whittle away at the former.

This series is based on Sean's one here:

 https://patchwork.ozlabs.org/project/uboot/list/?series=380576&state=*



Simon Glass (7):
  boot: Drop size parameter from image_setup_libfdt()
  fdt: Check for a valid fdt in oftree_ensure()
  fdt: Improve the comment for fdt_shrink_to_minimum()
  fdt: ppc: Drop extra size for ramdisk
  boot: Move adding initrd earlier in image_setup_libfdt()
  fdt: Drop the confusing casts in lmb_free()
  fdt: Move ft_verify_fdt() before the final fixups

 arch/mips/lib/bootm.c         |  4 ++--
 boot/fdt_support.c            |  1 -
 boot/image-board.c            |  2 +-
 boot/image-fdt.c              | 27 ++++++++++++---------------
 cmd/bootefi.c                 |  2 +-
 drivers/core/ofnode.c         |  5 +++++
 include/fdt_support.h         | 24 ++++++++++++++++++++++--
 include/image.h               |  3 +--
 lib/efi_loader/efi_dt_fixup.c |  2 +-
 9 files changed, 45 insertions(+), 25 deletions(-)

-- 
2.42.0.869.gea05f2083d-goog


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-12-13 20:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-12 15:27 [PATCH 0/7] fdt: Move towards using ofnode for devicetree fixups Simon Glass
2023-11-12 15:27 ` [PATCH 1/7] boot: Drop size parameter from image_setup_libfdt() Simon Glass
2023-11-12 18:22   ` Tom Rini
2023-12-13 20:39   ` Simon Glass
2023-11-12 15:27 ` [PATCH 2/7] fdt: Check for a valid fdt in oftree_ensure() Simon Glass
2023-11-12 15:27 ` [PATCH 3/7] fdt: Improve the comment for fdt_shrink_to_minimum() Simon Glass
2023-11-12 15:27 ` [PATCH 4/7] fdt: ppc: Drop extra size for ramdisk Simon Glass
2023-11-12 18:22   ` Tom Rini
2023-12-13 20:39   ` Simon Glass
2023-11-12 15:27 ` [PATCH 5/7] boot: Move adding initrd earlier in image_setup_libfdt() Simon Glass
2023-11-12 15:27 ` [PATCH 6/7] fdt: Drop the confusing casts in lmb_free() Simon Glass
2023-11-12 15:27 ` [PATCH 7/7] fdt: Move ft_verify_fdt() before the final fixups Simon Glass
2023-12-13 20:39 ` [PATCH 6/7] fdt: Drop the confusing casts in lmb_free() Simon Glass
2023-12-13 20:39 ` [PATCH 5/7] boot: Move adding initrd earlier in image_setup_libfdt() Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.