From 3bf63fbd5d9a9a9694f3be184cbdb9c62413c52d Mon Sep 17 00:00:00 2001 From: Hai Pham Date: Tue, 28 Feb 2023 22:29:18 +0100 Subject: [PATCH] serial: sh: Add R-Car Gen4 support Add R-Car Gen4 family support. The basic function is as same as previous R-Car Generation. Reviewed-by: Marek Vasut Signed-off-by: Hai Pham Signed-off-by: Marek Vasut [Marek: Swap RZ/A1 and Gen4 to keep the GenN sequence, use RCAR_64] --- drivers/serial/serial_sh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h index eb8523dde5..128b0776da 100644 --- a/drivers/serial/serial_sh.h +++ b/drivers/serial/serial_sh.h @@ -89,7 +89,7 @@ struct uart_port { # define SCSPTR7 0xe800a820 /* 16 bit SCIF */ # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ # define SCIF_ORER 0x0001 /* overrun error bit */ -#elif defined(CONFIG_RCAR_GEN2) || defined(CONFIG_RCAR_GEN3) || \ +#elif defined(CONFIG_RCAR_GEN2) || defined(CONFIG_RCAR_64) || \ defined(CONFIG_R7S72100) # if defined(CFG_SCIF_A) # define SCIF_ORER 0x0200 -- 2.39.5