Message ID | 20200426151302.93418-1-sjg@chromium.org |
---|---|
Headers | show |
Series | x86: Improve support for chain-loading U-Boot | expand |
Hi Simon, On Sun, Apr 26, 2020 at 11:13 PM Simon Glass <sjg at chromium.org> wrote: > > This little series adds a few checks into the code to allow better > operation when booting a build from a previous-state loader such as > coreboot. > > At present we have a 'coreboot' target but this runs very different code > from the bare-metal targets, such as coral. There is very little in common > between them. > > It is useful to be able to boot the same U-Boot on a device, with or > without a first-stage bootloader. For example, with chromebook_coral, it > is helpful for testing to be able to boot the same U-Boot (complete with > FSP) on bare metal and from coreboot. It allows checking of things like > CPU speed, comparing registers, ACPI tables and the like. > > This series allows U-Boot to detect that it ran from coreboot and > automatically do the right thing. > > This series makes the most important changes to allow the same u-boot.bin > for coral to boot after coreboot (by itself) or bare metal (via TPL->SPL). > > Changes in v4: > - Rename flag to GD_FLG_SKIP_LL_INIT > - Add new patch to move coreboot-table detection into common code > - Rename flag to GD_FLG_SKIP_LL_INIT > - Split this patch into two > - Update to use locate_coreboot_table() v4 series applied to u-boot-x86/master, thanks! Regards, Bin