diff options
author | Tim Chu <Tim.Chu@quantatw.com> | 2022-12-16 10:19:54 +0000 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2023-02-19 23:02:18 +0000 |
commit | 18545009407b1ec0e731f24ca4c16dbc967864b3 (patch) | |
tree | d5e12e794a3fdb8926171dc9c6c2e626d1f64222 /src/soc/intel/xeon_sp/include | |
parent | b64fdcc0fab3d77a94a2053dd1231c60a2b5dc77 (diff) |
soc/intel/xeon_sp/finalize.c: Set BIOS_DONE MSR as applicable
If BIOS_DONE MSR is supported, set it after ReadyToBoot, because FSP
programs certain registers via Notify phase ReadyToBoot and it cannot
be modified by FSP after coreboot has set BIOS_DONE MSR, therefore we
try to set BIOS_DONE MSR as late as possible to avoid this.
Signed-off-by: Tim Chu <Tim.Chu@quantatw.com>
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Signed-off-by: Jonathan Zhang <jonzhang@meta.com>
Change-Id: I4f19a7c54818231ebbccd2b6f8b23f47b117eb1f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71964
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/include')
-rw-r--r-- | src/soc/intel/xeon_sp/include/soc/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/intel/xeon_sp/include/soc/util.h b/src/soc/intel/xeon_sp/include/soc/util.h index 213735a3dd..371df1cb99 100644 --- a/src/soc/intel/xeon_sp/include/soc/util.h +++ b/src/soc/intel/xeon_sp/include/soc/util.h @@ -23,5 +23,6 @@ struct iiostack_resource { void get_iiostack_info(struct iiostack_resource *info); bool is_iio_stack_res(const STACK_RES *res); +void bios_done_msr(void *unused); #endif |