summaryrefslogtreecommitdiff
path: root/src/mainboard/google/guybrush/variants
diff options
context:
space:
mode:
authorFelix Held <felix.held@amd.corp-partner.google.com>2021-09-22 16:36:12 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-09-23 14:42:03 +0000
commit7011fa1135009897a8fee5d96ade0f9fa9c960cc (patch)
tree853e3f99abda14caa70ba0aa9b81ae8d2da1ed54 /src/mainboard/google/guybrush/variants
parent05df6ec8449355f5205807b84e7a6ba87252cf27 (diff)
soc/amd: rename program_gpios to gpio_configure_pads
Use the same function name as in soc/intel for this functionality. This also brings the function name more in line with the extended version of this function gpio_configure_pads_with_override which additionally supports passing a GPIO override configuration. This might cause some pain for out-of-tree boards, but at some point this should be made more consistent, so I don't see a too strong reason not to do this. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I88852e040f79861ce7d190bf2203f9e0ce156690 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57837 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/mainboard/google/guybrush/variants')
-rw-r--r--src/mainboard/google/guybrush/variants/baseboard/gpio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/guybrush/variants/baseboard/gpio.c b/src/mainboard/google/guybrush/variants/baseboard/gpio.c
index 50595cd769..98780404fb 100644
--- a/src/mainboard/google/guybrush/variants/baseboard/gpio.c
+++ b/src/mainboard/google/guybrush/variants/baseboard/gpio.c
@@ -362,7 +362,7 @@ __weak void variant_fpmcu_reset(void)
/* EN_PWR_FP */
PAD_GPO(GPIO_32, LOW),
};
- program_gpios(fpmcu_bootblock_table, ARRAY_SIZE(fpmcu_bootblock_table));
+ gpio_configure_pads(fpmcu_bootblock_table, ARRAY_SIZE(fpmcu_bootblock_table));
}
__weak void variant_finalize_gpios(void)
@@ -380,6 +380,6 @@ __weak void variant_finalize_gpios(void)
/* Deassert the FPMCU reset to enable the FPMCU */
gpio_set(GPIO_11, 1); /* FPMCU_RST_L */
} else {
- program_gpios(disable_fpmcu_table, ARRAY_SIZE(disable_fpmcu_table));
+ gpio_configure_pads(disable_fpmcu_table, ARRAY_SIZE(disable_fpmcu_table));
}
}