Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/80147?usp=email )
Change subject: vc/amd/opensil/genoa_poc/mpio: rename mpio_config to configure_mpio ......................................................................
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 --- M src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/80147/1
diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c index c268293..49a8934 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 @@ 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 @@
/* 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, };