[PATCH 01/21] arm: init: export prev_bl_fdt_addr

Tom Rini trini at konsulko.com
Tue Nov 21 20:06:14 CET 2023


On Tue, Nov 21, 2023 at 05:09:24PM +0000, Caleb Connolly wrote:

> When booting U-Boot on board with a locked down first-stage bootloader,
> we emulate the Linux boot header. By passing the U-Boot FDT through this
> first-stage bootloader and retrieving it afterwards we can pre-populate
> the memory nodes and other info like the KASLR address.
> 
> Add a function to export the FDT addr so that boards can use it over the
> built-in FDT.
> 
> Don't check is_addr_accessible() here because we might not yet have a
> valid mem_map if it's going to be populated from the FDT, let the board
> do their own validation instead.
> 
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231121/766cc76c/attachment.sig>


More information about the U-Boot mailing list