From 0231ab17616ff519ef52b5b323fc1ce6efc79f61 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 22 Apr 2022 19:23:03 +0530 Subject: 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 Change-Id: Idaa0e089131ab125348e2430355041c4ee7971de Reviewed-on: https://review.coreboot.org/c/coreboot/+/63789 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Lean Sheng Tan --- src/soc/intel/common/pch/lockdown/lockdown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soc/intel') 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); -- cgit v1.2.3