summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorRandolph Sapp <[email protected]>2026-06-04 10:50:35 -0500
committerTom Rini <[email protected]>2026-06-15 11:04:39 -0600
commit623f6c5b6ab7fa270a9e36db0c6136c5983a45a0 (patch)
treec95961f2df812e17dc13c5ce2cf7f94f244d4571 /scripts/basic
parent4065ee552b8e975e73b90c5b57f00af6ca0c5d65 (diff)
boot: image-fdt: free old dtb reservations
Add a free flag and an initial call to free allocations covered by the global FDT. This assumes that all calls to boot_fdt_add_mem_rsv_regions occur before the transition to the new device tree, thus we can access the currently active device tree through the global data pointer. This allows us to clearly indicate to the user when a device tree reservation fails. How we handle this can still use some improvement. Right now we'll keep the default behavior and try to boot anyway. Fixes: 5a6aa7d5913 ("boot: fdt: Handle already reserved memory in boot_fdt_reserve_region()") Signed-off-by: Randolph Sapp <[email protected]> Acked-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Fixes: tag with a 12-char hash: Fixes: 5a6aa7d59133 ("boot: fdt: Handle already reserved memory in
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions