From 9a3e9a495c54915761a52fc45013208b9c018109 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Sun, 7 Aug 2022 20:59:57 +0100 Subject: soc/common/lockdown: Guard sa_lock_pam Guard sa_lock_pam with PAM0_REGISTER so it doesn't run on platforms that don't select this. Signed-off-by: Sean Rhodes Change-Id: I5055d09c634851e9f869ab0b67a7bcab130f928c Reviewed-on: https://review.coreboot.org/c/coreboot/+/66492 Reviewed-by: Nico Huber Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/systemagent/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/soc/intel/common/block/systemagent/Kconfig') diff --git a/src/soc/intel/common/block/systemagent/Kconfig b/src/soc/intel/common/block/systemagent/Kconfig index e7f6ba49d833..4ba83f881769 100644 --- a/src/soc/intel/common/block/systemagent/Kconfig +++ b/src/soc/intel/common/block/systemagent/Kconfig @@ -31,4 +31,10 @@ config ACPI_BERT_SIZE Specify the amount of DRAM reserved for gathering the data used to generate the ACPI table. +config HAVE_PAM0_REGISTER + bool + default y + help + Specify if the SOC has a PAM0 register + endif -- cgit v1.2.3