summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-07 06:31:43 +0300
committerPatrick Georgi <pgeorgi@google.com>2018-06-11 08:33:54 +0000
commita48433d39be4002061e8882a9c6a009a497166eb (patch)
treecfd77b97ab72014b1a77ee4fb8b2c40e1f325f60 /src/include
parent3e70690f2a5c7c938784e7e42ecef3d0fb3687f9 (diff)
downloadcoreboot-a48433d39be4002061e8882a9c6a009a497166eb.tar.xz
selfboot: Move x86 quirk under arch
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26934 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/program_loading.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/program_loading.h b/src/include/program_loading.h
index e5d26e1d42..3cf1687ffa 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);