soc/intel/cmn/pch/lockdown: Add `gpmr` prefix
Commit 211be9c03 (soc/intel/cmn/{block, pch}: Migrate GPMR driver)
drops `dmi` prefix from `lockdown_cfg` function name.
This patch adds the `gpmr` prefix to the lockdown_cfg function to make
it meaningful.
BUG=b:211954778
TEST=Able to build google/brya.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: Idaa0e089131ab125348e2430355041c4ee7971de
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63789
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
diff --git a/src/soc/intel/common/pch/lockdown/lockdown.c b/src/soc/intel/common/pch/lockdown/lockdown.c
index cd8b402..d42b880 100644
--- a/src/soc/intel/common/pch/lockdown/lockdown.c
+++ b/src/soc/intel/common/pch/lockdown/lockdown.c
@@ -26,7 +26,7 @@
return common_config->chipset_lockdown;
}
-static void lockdown_cfg(void)
+static void gpmr_lockdown_cfg(void)
{
/*
* GCS reg of DMI
@@ -124,8 +124,8 @@
/* LPC/eSPI lock down configuration */
lpc_lockdown_config(chipset_lockdown);
- /* DMI lock down configuration */
- lockdown_cfg();
+ /* GPMR lock down configuration */
+ gpmr_lockdown_cfg();
/* SoC lock down configuration */
soc_lockdown_config(chipset_lockdown);