Skip to content
Snippets Groups Projects
Commit 748ff535 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent fe08d39d
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,9 @@ struct arch_global_data { ...@@ -120,6 +120,9 @@ struct arch_global_data {
int prev_sleep_state; /* Previous sleep state ACPI_S0/1../5 */ int prev_sleep_state; /* Previous sleep state ACPI_S0/1../5 */
ulong backup_mem; /* Backup memory address for S3 */ ulong backup_mem; /* Backup memory address for S3 */
#endif #endif
#ifdef CONFIG_FSP_VERSION2
struct fsp_header *fsp_s_hdr; /* Pointer to FSP-S header */
#endif
}; };
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment