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

Simon Glass sjg at chromium.org
Sat Dec 21 17:13:35 CET 2019


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.


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



More information about the U-Boot mailing list