serial: sh: Unify R8A7795 and R8A7796 as Gen3
PATCH 1/1 serial: sh: Unify R8A7795 and R8A7796 as Gen3
Unify the CONFIG_R8A7795 and CONFIG_R8A7796 as CONFIG_RCAR_GEN3 so that every time we add a new SoC, we won't have to add more stuff to this list.
Signed-off-by Marek Vasut <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
--- drivers/serial/serial_sh.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/serial/serial_sh.h +1 -2
@@ -226,8 +226,7 @@ struct uart_port {# define SCSCR_INIT (port) 0x38/* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ #elif defined(CONFIG_R8A7790 ) || defined(CONFIG_R8A7791 ) || \ defined(CONFIG_R8A7792 ) || defined(CONFIG_R8A7793 ) || \ - defined(CONFIG_R8A7794 ) || defined(CONFIG_R8A7795 ) || \ - defined(CONFIG_R8A7796 ) + defined(CONFIG_R8A7794 ) || defined(CONFIG_RCAR_GEN3 )# if defined(CONFIG_SCIF_A )# define SCIF_ORER 0x0200# else
Signature · 1 line
2.15.0