summaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines
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/pcengines
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/pcengines')
-rw-r--r--src/mainboard/pcengines/apu2/romstage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/pcengines/apu2/romstage.c b/src/mainboard/pcengines/apu2/romstage.c
index 5d2b988fbc..4c142d011a 100644
--- a/src/mainboard/pcengines/apu2/romstage.c
+++ b/src/mainboard/pcengines/apu2/romstage.c
@@ -60,14 +60,14 @@ const struct soc_amd_gpio gpio_apu5[] = {
static void early_lpc_init(void)
{
- program_gpios(gpio_common, ARRAY_SIZE(gpio_common));
+ gpio_configure_pads(gpio_common, ARRAY_SIZE(gpio_common));
if (CONFIG(BOARD_PCENGINES_APU2))
- program_gpios(gpio_apu2, ARRAY_SIZE(gpio_apu2));
+ gpio_configure_pads(gpio_apu2, ARRAY_SIZE(gpio_apu2));
if (CONFIG(BOARD_PCENGINES_APU3) || CONFIG(BOARD_PCENGINES_APU4))
- program_gpios(gpio_apu34, ARRAY_SIZE(gpio_apu34));
+ gpio_configure_pads(gpio_apu34, ARRAY_SIZE(gpio_apu34));
if (CONFIG(BOARD_PCENGINES_APU5))
- program_gpios(gpio_apu5, ARRAY_SIZE(gpio_apu5));
+ gpio_configure_pads(gpio_apu5, ARRAY_SIZE(gpio_apu5));
}