mb/pcengines/apu2: Use IS_ENABLED(CONFIG_APU2_PINMUX_{GPIO*,UART_*})

Change-Id: Ie5f73453a8cc12be5f18d8e7f0462ce3f38bb9d8
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/29585
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/mainboard/pcengines/apu2/mainboard.c b/src/mainboard/pcengines/apu2/mainboard.c
index 99ddf80..35385c2 100644
--- a/src/mainboard/pcengines/apu2/mainboard.c
+++ b/src/mainboard/pcengines/apu2/mainboard.c
@@ -142,16 +142,16 @@
 	uart = dev_find_slot_pnp(SIO_PORT, NCT5104D_SP3);
 	gpio = dev_find_slot_pnp(SIO_PORT, NCT5104D_GPIO0);
 	if (uart)
-		uart->enabled = CONFIG_APU2_PINMUX_UART_C;
+		uart->enabled = IS_ENABLED(CONFIG_APU2_PINMUX_UART_C);
 	if (gpio)
-		gpio->enabled = CONFIG_APU2_PINMUX_GPIO0;
+		gpio->enabled = IS_ENABLED(CONFIG_APU2_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_APU2_PINMUX_UART_D;
+		uart->enabled = IS_ENABLED(CONFIG_APU2_PINMUX_UART_D);
 	if (gpio)
-		gpio->enabled = CONFIG_APU2_PINMUX_GPIO1;
+		gpio->enabled = IS_ENABLED(CONFIG_APU2_PINMUX_GPIO1);
 }
 
 /**********************************************