soc/intel: Add get_pmbase
commitebc8423cbcb0bcd95c45e68cdf04af9f10be1bfe
authorEugene Myers <edmyers@tycho.nsa.gov>
Tue, 21 Jan 2020 21:46:16 +0000 (21 16:46 -0500)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 4 Feb 2020 18:54:01 +0000 (4 18:54 +0000)
tree1bdfad8f25beaed979639b5e2f0b302d84f99045
parentc9ac0bcb9827ab2bef5fd7548eb13302cfd9c57d
soc/intel: Add get_pmbase

Originally a part of security/intel/stm.

Add get_pmbase to the intel platform setup code.

get_pmbase is used by the coreboot STM setup functions to ensure
that the pmbase is accessable by the SMI handler during runtime.
The pmbase has to be accounted for in the BIOS resource list so
that the SMI handler is allowed this access.

Change-Id: If6f6295c5eba9eb20e57ab56e7f965c8879e93d2
Signed-off-by: Eugene D. Myers <edmyers@tycho.nsa.gov>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37990
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
14 files changed:
src/soc/intel/apollolake/include/soc/pm.h
src/soc/intel/apollolake/pmutil.c
src/soc/intel/broadwell/include/soc/pm.h
src/soc/intel/broadwell/pmutil.c
src/soc/intel/cannonlake/include/soc/pm.h
src/soc/intel/cannonlake/pmutil.c
src/soc/intel/icelake/include/soc/pm.h
src/soc/intel/icelake/pmutil.c
src/soc/intel/quark/acpi.c
src/soc/intel/quark/include/soc/pm.h
src/soc/intel/skylake/include/soc/pm.h
src/soc/intel/skylake/pmutil.c
src/soc/intel/tigerlake/include/soc/pm.h
src/soc/intel/tigerlake/pmutil.c