U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] bloblist: fdt: Clean up the code
@ 2025-03-28 15:43 Simon Glass
  2025-03-28 15:43 ` [PATCH 1/4] bloblist: Simplify bloblist init Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 58+ messages in thread
From: Simon Glass @ 2025-03-28 15:43 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Simon Glass, Andrew Goodbody, Caleb Connolly, Evgeny Bachinin,
	Harrison Mutai, Jan Kiszka, Jerry Van Baren, Lad Prabhakar,
	Levi Yun, Marek Behún, Marek Vasut, Marek Vasut,
	Matthias Brugger, Neil Armstrong, Patrick Rudolph, Quentin Schulz,
	Raymond Mao, Sumit Garg,
	This contributor prefers not to receive mails, Tom Rini,
	mason1920

The bloblist code took what I consider to be a wrong turn a year or so
ago. As discussed with Tom, this series proposes a way to arrange things
so that it is simpler to understand and manage.

- Unwind some of the nesting in bloblist_init()
- Avoid needing to init the bloblist just to get the FDT
- Create a deterministic OF_BLOBLIST option rather than using guesswork

It is to be hoped that we can get a platform which uses OF_BLOBLIST into
CI at some point. In the meantime, the standard passage series[1] could
be resurrected to give some coverage.

[1] https://patchwork.ozlabs.org/project/uboot/list/?series=281465&state=*


Simon Glass (4):
  bloblist: Simplify bloblist init
  fdt: Introduce OF_BLOBLIST
  bloblist: Provide access to the FDT address
  fdt: Obtain the FDT from bloblist without parsing it

 arch/arm/lib/xferlist.c            |   6 +-
 common/bloblist.c                  | 102 ++++++++++++++++++-----------
 doc/develop/devicetree/control.rst |   3 +
 dts/Kconfig                        |   8 +++
 include/bloblist.h                 |  16 ++++-
 lib/fdtdec.c                       |  65 +++++++-----------
 6 files changed, 116 insertions(+), 84 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-04-17 22:37 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28 15:43 [PATCH 0/4] bloblist: fdt: Clean up the code Simon Glass
2025-03-28 15:43 ` [PATCH 1/4] bloblist: Simplify bloblist init Simon Glass
2025-03-28 15:43 ` [PATCH 2/4] fdt: Introduce OF_BLOBLIST Simon Glass
2025-04-03 15:34   ` Raymond Mao
2025-04-03 17:57     ` Simon Glass
2025-03-28 15:43 ` [PATCH 3/4] bloblist: Provide access to the FDT address Simon Glass
2025-03-28 15:43 ` [PATCH 4/4] fdt: Obtain the FDT from bloblist without parsing it Simon Glass
2025-03-28 16:18 ` [PATCH 0/4] bloblist: fdt: Clean up the code Tom Rini
2025-03-28 23:38   ` Simon Glass
2025-03-29  0:02     ` Tom Rini
2025-03-29  1:00       ` Raymond Mao
2025-04-04 14:48         ` Raymond Mao
2025-04-04 14:53           ` Raymond Mao
2025-04-04 17:40           ` Simon Glass
2025-04-04 17:55             ` Tom Rini
2025-04-04 18:09             ` Raymond Mao
2025-04-06 22:06               ` Simon Glass
2025-04-06 22:35                 ` Tom Rini
2025-04-07 14:07                 ` Raymond Mao
2025-04-13 21:13                   ` Simon Glass
2025-04-14 13:07                     ` Raymond Mao
2025-04-14 19:34                       ` Simon Glass
2025-04-14 19:43                         ` Raymond Mao
2025-04-14 20:05                           ` Simon Glass
2025-04-14 20:16                             ` Raymond Mao
2025-04-14 20:41                               ` Simon Glass
2025-04-14 20:47                                 ` Simon Glass
2025-04-15  0:32                                   ` Raymond Mao
2025-04-17 13:14                                     ` Simon Glass
2025-04-03 14:09 ` Raymond Mao
2025-04-03 17:57   ` Simon Glass
2025-04-03 18:12     ` Raymond Mao
2025-04-03 18:18       ` Simon Glass
2025-04-03 19:54         ` Raymond Mao
2025-04-03 20:40           ` Simon Glass
2025-04-03 21:52             ` Tom Rini
2025-04-03 22:41               ` Simon Glass
2025-04-03 22:50                 ` Tom Rini
2025-04-04 17:39                   ` Simon Glass
2025-04-04 17:57                     ` Tom Rini
2025-04-06 22:06                       ` Simon Glass
2025-04-06 22:38                         ` Tom Rini
2025-04-07  0:35                           ` Simon Glass
2025-04-07 14:30                             ` Tom Rini
2025-04-07 15:24                               ` Simon Glass
2025-04-07 18:22                                 ` Tom Rini
2025-04-07 20:17                                   ` Simon Glass
2025-04-07 20:34                                     ` Tom Rini
2025-04-14 19:34                               ` Simon Glass
2025-04-14 20:34                                 ` Tom Rini
2025-04-17 13:14                                   ` Simon Glass
2025-04-17 14:14                                     ` Tom Rini
2025-04-17 21:24                                       ` Simon Glass
2025-04-17 21:58                                         ` Tom Rini
2025-04-17 22:02                                           ` Simon Glass
2025-04-17 22:14                                             ` Tom Rini
2025-04-17 22:28                                               ` Simon Glass
2025-04-17 22:37                                                 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox