summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/pch/lockdown/lockdown.c
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2022-04-22 19:23:03 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-04-27 12:36:52 +0000
commit0231ab17616ff519ef52b5b323fc1ce6efc79f61 (patch)
tree9709964dab9dcca62cb65403dc525ee5a9e5c006 /src/soc/intel/common/pch/lockdown/lockdown.c
parenta9989989e3e30c84d8951ad4a37ea79816847ac6 (diff)
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>
Diffstat (limited to 'src/soc/intel/common/pch/lockdown/lockdown.c')
-rw-r--r--src/soc/intel/common/pch/lockdown/lockdown.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/common/pch/lockdown/lockdown.c b/src/soc/intel/common/pch/lockdown/lockdown.c
index cd8b402b5d..d42b88060b 100644
--- a/src/soc/intel/common/pch/lockdown/lockdown.c
+++ b/src/soc/intel/common/pch/lockdown/lockdown.c
@@ -26,7 +26,7 @@ int get_lockdown_config(void)
return common_config->chipset_lockdown;
}
-static void lockdown_cfg(void)
+static void gpmr_lockdown_cfg(void)
{
/*
* GCS reg of DMI
@@ -124,8 +124,8 @@ static void platform_lockdown_config(void *unused)
/* 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);