From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Fri, 26 Mar 2021 20:18:15 -0700 Subject: [PATCH 23/34] x86: Allow installing an e820 when booting from coreboot In-Reply-To: <20210315173656.23.Ifdce06fb906b92bd88244446603a03dd8b7b7493@changeid> References: <20210315173656.23.Ifdce06fb906b92bd88244446603a03dd8b7b7493@changeid> <20210315050034.1934660-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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!