From a48433d39be4002061e8882a9c6a009a497166eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 7 Jun 2018 06:31:43 +0300 Subject: selfboot: Move x86 quirk under arch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Making exceptions for some payload to be loaded near and under 1 MiB boundary sounds like a legacy 16-bit x86 BIOS thing we generally do not want under lib/. Change-Id: I8e8336a03d6f06d8f022c880a8334fe19a777f0a Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26934 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Nico Huber --- src/include/program_loading.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/program_loading.h') diff --git a/src/include/program_loading.h b/src/include/program_loading.h index e5d26e1d42b6..3cf1687ffae8 100644 --- a/src/include/program_loading.h +++ b/src/include/program_loading.h @@ -188,6 +188,8 @@ void backup_ramstage_section(uintptr_t base, size_t size); * PAYLOAD LOADING * ***********************/ +int payload_arch_usable_ram_quirk(uint64_t start, uint64_t size); + /* Load payload into memory in preparation to run. */ void payload_load(void); -- cgit v1.2.3