drivers: serial: nrf: Adapt config dependencies to nrf54h20

DT nodes and compatible had been renamed and Kconfig option was relying
on the names that do not exists.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-04-10 14:55:44 +02:00 committed by Alberto Escolar
parent ca92f96f41
commit 685e6cec9b
2 changed files with 2 additions and 2 deletions

View file

@ -87,7 +87,7 @@ config UART_$(nrfx_uart_num)_TX_CACHE_SIZE
config UART_$(nrfx_uart_num)_RX_CACHE_SIZE
int "RX cache buffer size"
depends on !UART_NRFX_UARTE_LEGACY_SHIM
default 32 if $(dt_nodelabel_has_compat,ram3x,$(DT_COMPAT_MMIO_SRAM))
default 32 if $(dt_nodelabel_has_compat,shared_ram3x_region,$(DT_COMPAT_NORDIC_OWNED_MEMORY))
default 5
range 5 255
help

View file

@ -886,7 +886,7 @@ config NRFX_UARTE_CONFIG_TX_LINK
config NRFX_UARTE_CONFIG_RX_CACHE_ENABLED
bool "UARTE RX caching support"
default y if $(dt_nodelabel_has_compat,ram3x,$(DT_COMPAT_MMIO_SRAM))
default y if $(dt_nodelabel_has_compat,shared_ram3x_region,$(DT_COMPAT_NORDIC_OWNED_MEMORY))
depends on NRFX_UARTE
help
Feature might be enabled on platforms which has limitations regarding addresses