From fab8246bc5b883d3eac343d77a967487cc2fcf35 Mon Sep 17 00:00:00 2001 From: Jakub Rzeszutko Date: Thu, 14 Jun 2018 09:14:03 +0200 Subject: [PATCH] drivers: serial: simplify Kconfig.nrfx by using HAS_HW_NRF_UART0 Condition: depends on ((SOC_SERIES_NRF52X || SOC_SERIES_NRF51X) && (!SOC_NRF52810)) for displaing configuration for UART0 peripheral has been replaced with: depends on HAS_HW_NRF_UART0. Signed-off-by: Jakub Rzeszutko --- drivers/serial/Kconfig.nrfx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/Kconfig.nrfx b/drivers/serial/Kconfig.nrfx index 3218f461f7ea..e6f4cbed1f11 100644 --- a/drivers/serial/Kconfig.nrfx +++ b/drivers/serial/Kconfig.nrfx @@ -23,7 +23,7 @@ choice config UART_0_NRF_UART bool "nRF UART 0" - depends on SOC_SERIES_NRF52X || SOC_SERIES_NRF51X + depends on HAS_HW_NRF_UART0 select NRF_UART_PERIPHERAL help Enable nRF UART without EasyDMA on port 0.