aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/pcengines/apu1/mainboard.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-05-27 13:07:50 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-05-30 15:15:24 +0200
commit17163755075149f36c37458af0cb5f398d2a6766 (patch)
treed09edf42d195f99a7f584c54ed38a56d3d9b2e46 /src/mainboard/pcengines/apu1/mainboard.c
parente0849350aa74c58751675da389d717a93c365030 (diff)
pcengines/apu1: Rename Kconfig variables for pinmux
Add APU1 prefix because Kconfig throws errors if we try to define the same variables as choice-entry for APU2 board. Change-Id: Ic071600dd88e391a8a278d63aad13abd01fd3c9d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/14988 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/pcengines/apu1/mainboard.c')
-rw-r--r--src/mainboard/pcengines/apu1/mainboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainboard/pcengines/apu1/mainboard.c b/src/mainboard/pcengines/apu1/mainboard.c
index f11d94b116..2ebdc752cb 100644
--- a/src/mainboard/pcengines/apu1/mainboard.c
+++ b/src/mainboard/pcengines/apu1/mainboard.c
@@ -146,16 +146,16 @@ static void config_gpio_mux(void)
uart = dev_find_slot_pnp(SIO_PORT, NCT5104D_SP3);
gpio = dev_find_slot_pnp(SIO_PORT, NCT5104D_GPIO0);
if (uart)
- uart->enabled = CONFIG_PINMUX_UART_C;
+ uart->enabled = CONFIG_APU1_PINMUX_UART_C;
if (gpio)
- gpio->enabled = CONFIG_PINMUX_GPIO0;
+ gpio->enabled = CONFIG_APU1_PINMUX_GPIO0;
uart = dev_find_slot_pnp(SIO_PORT, NCT5104D_SP4);
gpio = dev_find_slot_pnp(SIO_PORT, NCT5104D_GPIO1);
if (uart)
- uart->enabled = CONFIG_PINMUX_UART_D;
+ uart->enabled = CONFIG_APU1_PINMUX_UART_D;
if (gpio)
- gpio->enabled = CONFIG_PINMUX_GPIO1;
+ gpio->enabled = CONFIG_APU1_PINMUX_GPIO1;
}
/**