yuchi.chen@intel.com has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83317?usp=email )
Change subject: src/soc/intel/common/block/gpmr: add new Kconfig HAVE_SPECIFIC_GPMR ......................................................................
src/soc/intel/common/block/gpmr: add new Kconfig HAVE_SPECIFIC_GPMR
Change-Id: I94797a72af75fc96ab2cacb1d46b581605a15387 Signed-off-by: Yuchi Chen yuchi.chen@intel.com --- M src/soc/intel/common/block/gpmr/Kconfig M src/soc/intel/common/block/include/intelblocks/gpmr.h 2 files changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/83317/1
diff --git a/src/soc/intel/common/block/gpmr/Kconfig b/src/soc/intel/common/block/gpmr/Kconfig index 06ababe..8dbcd21 100644 --- a/src/soc/intel/common/block/gpmr/Kconfig +++ b/src/soc/intel/common/block/gpmr/Kconfig @@ -5,3 +5,13 @@ select SOC_INTEL_COMMON_BLOCK_PCR help Intel Processor common GPMR support + +if SOC_INTEL_COMMON_BLOCK_GPMR + +config HAVE_SPECIFIC_GPMR + bool + default n + help + Specify if the SoC have specific GPMR register definitions. + +endif diff --git a/src/soc/intel/common/block/include/intelblocks/gpmr.h b/src/soc/intel/common/block/include/intelblocks/gpmr.h index 887328c..1f532b6 100644 --- a/src/soc/intel/common/block/include/intelblocks/gpmr.h +++ b/src/soc/intel/common/block/include/intelblocks/gpmr.h @@ -6,6 +6,8 @@ #include <types.h> #if CONFIG(SOC_INTEL_COMMON_BLOCK_IOC) #include <intelblocks/ioc_gpmr.h> +#elif CONFIG(HAVE_SPECIFIC_GPMR) +#include <soc/gpmr.h> #else #include <intelblocks/pcr_gpmr.h> #endif