aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/fsp/fsp_api.h
diff options
context:
space:
mode:
authorBin Meng2017-08-15 22:41:51 -0700
committerBin Meng2017-09-16 14:57:44 +0800
commitbb737ced7fc8c6d49554fb431971df87720b0e00 (patch)
tree99d19b9a3491bafd674222d6a23ddae4d64a614c /arch/x86/include/asm/fsp/fsp_api.h
parent3df39ef10704e82a61972fe2f71b6ff4466b7724 (diff)
x86: fsp: Update struct common_buf for FSP spec 1.1
FSP spec 1.1 adds one more member to the struct common_buf to determine the memory size that can be reserved by FSP below "top of low usable memory" for bootloader usage. This new member uses the reserved space so that it is still compatible with previous FSP spec 1.0. A new HOB (FSP_HOB_RESOURCE_OWNER_BOOTLOADER_TOLUM_GUID) is also published when common_buf.tolum_size is valid and non zero. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/fsp/fsp_api.h')
-rw-r--r--arch/x86/include/asm/fsp/fsp_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/fsp/fsp_api.h b/arch/x86/include/asm/fsp/fsp_api.h
index afafb30c147..43f0cdb085a 100644
--- a/arch/x86/include/asm/fsp/fsp_api.h
+++ b/arch/x86/include/asm/fsp/fsp_api.h
@@ -43,7 +43,8 @@ struct common_buf {
u32 stack_top;
u32 boot_mode; /* Current system boot mode */
void *upd_data; /* User platform configuraiton data region */
- u32 reserved[7]; /* Reserved */
+ u32 tolum_size; /* Top of low usable memory size (FSP 1.1) */
+ u32 reserved[6]; /* Reserved */
};
enum fsp_phase {