[PATCH 0/6] resource: add support for walking resource gaps

Sascha Hauer s.hauer at pengutronix.de
Mon Dec 15 01:29:09 PST 2025


On Thu, 11 Dec 2025 21:50:02 +0100, Ahmad Fatoum wrote:
> We currently keep track of regions with the SDRAM by requesting a struct
> resource from the memory bank. We will make additional use of that to
> request memory handed out to EFI applications when barebox is being used
> as EFI loader.
> 
> For that purpose, we need an easy way to walk the requested memory
> region and especially the gaps between them as well as support for
> freeing partial regions.
> 
> [...]

Applied, thanks!

[1/6] resource: implement resource walker
      https://git.pengutronix.de/cgit/barebox/commit/?id=f28805f5ffac (link may not be stable)
[2/6] test: self: implement resource walker selftest
      https://git.pengutronix.de/cgit/barebox/commit/?id=9e5e0f7b7933 (link may not be stable)
[3/6] commands: iomem: add support for printing gaps
      https://git.pengutronix.de/cgit/barebox/commit/?id=2585a9ab6a1c (link may not be stable)
[4/6] test: py: add test for valid JSON output from iomem/clk_dump
      https://git.pengutronix.de/cgit/barebox/commit/?id=d93bb7e619be (link may not be stable)
[5/6] memory: add helpers for iterating over memory regions
      https://git.pengutronix.de/cgit/barebox/commit/?id=7bdc0bf05142 (link may not be stable)
[6/6] resource: implement release_region_range
      https://git.pengutronix.de/cgit/barebox/commit/?id=804c79319dcd (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list