aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/global_data.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-06 21:42:21 -0700
committerBin Meng <bmeng.cn@gmail.com>2019-12-15 11:44:17 +0800
commit748ff5350ae880ea01d3d72214122c3552a5185f (patch)
treef768d5e3e43b1f2f6f45ed550fe60d7b132aceb2 /arch/x86/include/asm/global_data.h
parentfe08d39d1b5fa908c89030a02482d7310bd58b35 (diff)
downloadu-boot-748ff5350ae880ea01d3d72214122c3552a5185f.zip
u-boot-748ff5350ae880ea01d3d72214122c3552a5185f.tar.gz
u-boot-748ff5350ae880ea01d3d72214122c3552a5185f.tar.bz2
x86: fsp: Allow remembering the location of FSP-S
FSP-S is used by the notify call after it has been used for silicon init. To avoid having to load it again, add a field to store the location. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/include/asm/global_data.h')
-rw-r--r--arch/x86/include/asm/global_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/global_data.h b/arch/x86/include/asm/global_data.h
index 190b604..f4c1839 100644
--- a/arch/x86/include/asm/global_data.h
+++ b/arch/x86/include/asm/global_data.h
@@ -120,6 +120,9 @@ struct arch_global_data {
int prev_sleep_state; /* Previous sleep state ACPI_S0/1../5 */
ulong backup_mem; /* Backup memory address for S3 */
#endif
+#ifdef CONFIG_FSP_VERSION2
+ struct fsp_header *fsp_s_hdr; /* Pointer to FSP-S header */
+#endif
};
#endif