diff options
Diffstat (limited to 'src/soc/qualcomm')
-rw-r--r-- | src/soc/qualcomm/ipq40xx/Kconfig | 4 | ||||
-rw-r--r-- | src/soc/qualcomm/ipq40xx/uart.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/soc/qualcomm/ipq40xx/Kconfig b/src/soc/qualcomm/ipq40xx/Kconfig index 37046cae70..9817c1f17c 100644 --- a/src/soc/qualcomm/ipq40xx/Kconfig +++ b/src/soc/qualcomm/ipq40xx/Kconfig @@ -17,6 +17,10 @@ config CHROMEOS select SEPARATE_VERSTAGE select RETURN_FROM_VERSTAGE +config IPQ_QFN_PART + bool "Is the SoC a BGA part or QFN part" + default n + config MBN_ENCAPSULATION depends on USE_BLOBS bool "bootblock encapsulation for ipq40xx" diff --git a/src/soc/qualcomm/ipq40xx/uart.c b/src/soc/qualcomm/ipq40xx/uart.c index 81b2281a86..0f8add5501 100644 --- a/src/soc/qualcomm/ipq40xx/uart.c +++ b/src/soc/qualcomm/ipq40xx/uart.c @@ -59,15 +59,25 @@ static const uart_params_t uart_board_param = { .blsp_uart = BLSP1_UART1, .dbg_uart_gpio = { { +#if IS_ENABLED(CONFIG_IPQ_QFN_PART) .gpio = 60, .func = 2, +#else /* bga */ + .gpio = 16, + .func = 1, +#endif .dir = GPIO_INPUT, .pull = GPIO_NO_PULL, .enable = GPIO_ENABLE }, { +#if IS_ENABLED(CONFIG_IPQ_QFN_PART) .gpio = 61, .func = 2, +#else /* bga */ + .gpio = 17, + .func = 1, +#endif .dir = GPIO_OUTPUT, .pull = GPIO_NO_PULL, .enable = GPIO_ENABLE |