[PATCH 23/34] x86: Allow installing an e820 when booting from coreboot

Simon Glass sjg at chromium.org
Sat Mar 27 04:18:15 CET 2021


Move this code into a generic location so that it can be used by other x86
boards which want to boot from coreboot. Also ensure that this is called
if booting from coreboot.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/cpu/coreboot/sdram.c      | 27 +-------------------
 arch/x86/include/asm/e820.h        | 16 +++++++++++-
 arch/x86/lib/coreboot/Makefile     |  1 +
 arch/x86/lib/coreboot/cb_support.c | 41 ++++++++++++++++++++++++++++++
 arch/x86/lib/zimage.c              | 12 +++++++--
 5 files changed, 68 insertions(+), 29 deletions(-)
 create mode 100644 arch/x86/lib/coreboot/cb_support.c

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list