[PATCH 0/5] x86: Improve support for chain-loading U-Boot

Andy Shevchenko andy.shevchenko at gmail.com
Sat Dec 21 17:59:50 CET 2019


On Sat, Dec 21, 2019 at 6: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 sometimes it is useful to boot
> a bare-metal target, such as coral, from coreboot. That allows comparison
> of operation between the bare metal version doing all the init itself and
> relying on coreboot for some init.
>

Thank you for sharing. May I ask what devices and configurations you
have tested this on?

P.S. I'll be able to test my case after xmas vacations (mid January).

> Simon Glass (5):
>   x86: fsp: Allow skipping init code when chain loading
>   x86: apl: Skip init code when chain loading
>   x86: cpu: Skip init code when chain loading
>   dm: Avoid initing built-in devices when chain loading
>   pci: Avoid auto-config when chain loading
>
>  arch/x86/cpu/apollolake/fsp_s.c |  2 ++
>  arch/x86/cpu/cpu.c              |  4 +++-
>  arch/x86/cpu/i386/interrupt.c   |  3 +++
>  arch/x86/lib/fsp/fsp_dram.c     |  8 ++++++++
>  arch/x86/lib/fsp/fsp_graphics.c |  3 +++
>  arch/x86/lib/fsp2/fsp_dram.c    | 10 ++++++++++
>  arch/x86/lib/fsp2/fsp_init.c    |  2 +-
>  arch/x86/lib/init_helpers.c     |  3 +++
>  common/board_r.c                |  3 +++
>  drivers/pci/pci-uclass.c        |  4 ++--
>  10 files changed, 38 insertions(+), 4 deletions(-)
>
> --
> 2.24.1.735.g03f4e72817-goog
>


-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list