soc/intel/xeon_sp/smihandler.c: enable support for spr-sp
commit3ba1621dab403625cb0852d5dad6285e0ab6744d
authorTim Chu <Tim.Chu@quantatw.com>
Wed, 14 Dec 2022 11:27:52 +0000 (14 11:27 +0000)
committerLean Sheng Tan <sheng.tan@9elements.com>
Fri, 24 Mar 2023 16:07:23 +0000 (24 16:07 +0000)
tree70287c127656bab5d43baf30c22ceb2a1648a668
parent8dd34bd6745731d423319d86d410fd31c9180d77
soc/intel/xeon_sp/smihandler.c: enable support for spr-sp

For SPR-SP, the SMM_FEATURE_CONTROL register is in UBOX_URACU_FUNC
instead of UBOX_DEV_PMON.

Signed-off-by: Tim Chu <Tim.Chu@quantatw.com>
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
Change-Id: Ide46c5f9cdf65b7e05552449b08ad4d7246664cc
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71962
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/soc/intel/xeon_sp/cpx/Makefile.inc
src/soc/intel/xeon_sp/cpx/include/soc/pci_devs.h
src/soc/intel/xeon_sp/cpx/soc_smihandler_util.c [new file with mode: 0644]
src/soc/intel/xeon_sp/skx/Makefile.inc
src/soc/intel/xeon_sp/skx/include/soc/pci_devs.h
src/soc/intel/xeon_sp/skx/soc_smihandler_util.c [new file with mode: 0644]
src/soc/intel/xeon_sp/smihandler.c
src/soc/intel/xeon_sp/spr/Makefile.inc
src/soc/intel/xeon_sp/spr/include/soc/pci_devs.h
src/soc/intel/xeon_sp/spr/soc_smihandler_util.c [new file with mode: 0644]