From 4e11bff0cfee7e7bd3367099b6daf61f6179043d Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Wed, 13 Mar 2019 05:06:06 +0100 Subject: soc/apollolake: Add UART0 In my case, on UPsquared board with Celeron N3350 CPU, I don't have UART2 but UART0. Change-Id: Id9a742144eba0f1d1544aafecf44d4730d055b4a Signed-off-by: Felix Singer Reviewed-on: https://review.coreboot.org/c/coreboot/+/31864 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/soc/intel/apollolake/uart.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc') diff --git a/src/soc/intel/apollolake/uart.c b/src/soc/intel/apollolake/uart.c index a85ad1f6b9..e8e2661243 100644 --- a/src/soc/intel/apollolake/uart.c +++ b/src/soc/intel/apollolake/uart.c @@ -48,6 +48,13 @@ const struct uart_gpio_pad_config uart_gpio_pads[] = { }, }, #else + { + .console_index = 0, + .gpios = { + PAD_CFG_NF(GPIO_38, NATIVE, DEEP, NF1), /* UART0 RX */ + PAD_CFG_NF(GPIO_39, NATIVE, DEEP, NF1), /* UART0 TX */ + }, + }, { .console_index = 1, .gpios = { -- cgit v1.2.3