]> git.sur5r.net Git - u-boot/commitdiff
serial: sh: Unify R8A7795 and R8A7796 as Gen3
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Nov 2017 22:08:34 +0000 (23:08 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:32:34 +0000 (02:32 +0100)
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 <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/serial/serial_sh.h

index 4d271222434e8d7db610a30f8c3479d398dc10c8..1b8d742f1cfc0a5eb554514dcf41c2732959d3fc 100644 (file)
@@ -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