[PATCH v4 08/28] coreboot: Move coreboot logic out of x86 to a generic place

Tom Rini trini at konsulko.com
Tue Jun 3 16:43:44 CEST 2025


On Fri, May 23, 2025 at 03:58:23PM -0700, Stephen Boyd wrote:

> Lay the groundwork to run U-Boot as a payload on ARM coreboot based
> devices. Move the coreboot table parsing code out of arch/x86 into
> lib/coreboot. The headers like cb_sysinfo.h and coreboot_tables.h need
> to be globally accessible, so move them into the top level include
> directory. Introduce helper functions like
> board_get_usable_ram_top_from_coreboot(), dram_init_from_coreboot(), and
> dram_init_banksize_from_coreboot() so that boards can still override
> these common functions while also supporting booting as a coreboot
> payload.
> 
> Signed-off-by: Stephen Boyd <swboyd at chromium.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/20250603/299bc95c/attachment-0001.sig>


More information about the U-Boot mailing list