drivers: serial: rcar: set default according to dt enabled

Set UART_RCAR to true if renesas,rcar-scif status is okay.

Signed-off-by: Julien Massot <julien.massot@iot.bzh>
This commit is contained in:
Julien Massot 2022-01-21 09:41:17 +01:00 committed by Anas Nashif
commit 2d6ed8c083

View file

@ -3,10 +3,13 @@
# Copyright (c) 2021 IoT.bzh
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_RENESAS_RCAR_SCIF := renesas,rcar-scif
config UART_RCAR
bool "Renesas R-Car UART Driver"
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
depends on SOC_FAMILY_RCAR
default $(dt_compat_enabled,$(DT_COMPAT_RENESAS_RCAR_SCIF))
help
Enable Renesas R-Car UART Driver.