summaryrefslogtreecommitdiffstats
path: root/src/vendorcode/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2024-01-22 16:06:33 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-01-24 16:05:46 +0000
commit204703dbbb1383ec8065882749a890b8cab944ef (patch)
tree998da1c02acf89cf08be13b8dea17fd3707fb961 /src/vendorcode/amd
parent2dd1218530cca62507b3320ec563235a1c76f1ac (diff)
downloadcoreboot-204703dbbb1383ec8065882749a890b8cab944ef.tar.gz
coreboot-204703dbbb1383ec8065882749a890b8cab944ef.tar.bz2
coreboot-204703dbbb1383ec8065882749a890b8cab944ef.zip
vc/amd/opensil/genoa_poc/mpio: rename mpio_config to configure_mpio
As a preparation for the following patch, rename mpio_config to configure_mpio to make it both a bit more descriptive and to match the naming scheme used for the functions that get called by setup_opensil. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ic4b1aa6e964cbbb4affb89cacd33af8b24871bb6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80147 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r--src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c
index c2682933f8fb..49a8934d8aa5 100644
--- a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c
+++ b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c
@@ -175,7 +175,7 @@ static void per_device_config(MPIOCLASS_INPUT_BLK *mpio_data, struct device *dev
mpio_port++;
}
-static void mpio_config(void *const config)
+static void configure_mpio(void *const config)
{
MPIOCLASS_INPUT_BLK *mpio_data = SilFindStructure(SilId_MpioClass, 0);
mpio_global_config(mpio_data);
@@ -183,11 +183,11 @@ static void mpio_config(void *const config)
/* Find all devices with this chip */
for (struct device *dev = &dev_root; dev; dev = dev->next)
- if (dev->chip_ops->init == mpio_config)
+ if (dev->chip_ops->init == configure_mpio)
per_device_config(mpio_data, dev->bus->dev, dev->chip_info);
}
struct chip_operations vendorcode_amd_opensil_genoa_poc_mpio_ops = {
CHIP_NAME("AMD GENOA MPIO")
- .init = mpio_config,
+ .init = configure_mpio,
};