[PATCH v3 07/17] coreboot: Locate table earlier than arch_cpu_init()
Tom Rini
trini at konsulko.com
Tue Apr 29 00:20:54 CEST 2025
On Mon, Apr 28, 2025 at 12:24:14PM -0700, Stephen Boyd wrote:
> Currently we locate the coreboot table in arch_cpu_init(). One of the
> first things that happens in initcall_run_f() initialization is
> fdtdec_setup() is called which could inspect the DTB for memory
> information (see mach-snapdragon's board_fdt_blob_setup() code).
> Introduce an initcall specifically to locate the coreboot table early on
> in the boot process so that board_fdt_blob_setup() can know that the
> memory is described in the coreboot tables instead of the DTB that's
> either embedded in the ELF file or provided by the earlier stage
> bootloader. This will also help in the future when we want to pick the
> DTB from a FIT image based on the board and revision ID bits in the
> coreboot tables.
>
> 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/20250428/8f40b7c3/attachment.sig>
More information about the U-Boot
mailing list