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>
This commit is contained in:
parent
2dd1218530
commit
204703dbbb
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue