x86: Allow installing an e820 when booting from coreboot
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:23 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:29 +0000 (15:04 +1300)
commite7bae8283fea94cf470542916a063182c9e5771a
treef6b0fe28d2ff03e1ec7472f23482dbb4ed320478
parent1058ab37f7176370e835d53299c2ae44437925e3
x86: Allow installing an e820 when booting from coreboot

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@chromium.org>
arch/x86/cpu/coreboot/sdram.c
arch/x86/include/asm/e820.h
arch/x86/lib/coreboot/Makefile
arch/x86/lib/coreboot/cb_support.c [new file with mode: 0644]
arch/x86/lib/zimage.c