diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-05-07 22:26:21 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-05-10 22:43:18 +0200 |
commit | 42c09a113efba04f3e592c8662d1d3034996e297 (patch) | |
tree | 41a3aee34e8538f0b7d9fbced5d3940b0ca29c54 /drivers | |
parent | fcc7cc52e709f73019740e2760ffe440b0e22609 (diff) |
serial: sh: Drop SH2007 support
There is no SH2007 support in U-Boot, drop all the SH2007 macros.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Chris Brandt <chris.brandt@renesas.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Vladimir Zapolskiy <vz@mleia.com>
Cc: Yoshihiro Shimoda <shimoda.yoshihiro.uh@renesas.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/serial/serial_sh.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h index 78d8afa69ff..f78d24874c9 100644 --- a/drivers/serial/serial_sh.h +++ b/drivers/serial/serial_sh.h @@ -149,13 +149,8 @@ struct uart_port { # define SCSPTR1 0xffe10024 /* 16 bit SCIF */ # define SCIF_ORER 0x0001 /* Overrun error bit */ -#if defined(CONFIG_SH_SH2007) -/* TIE=0,RIE=0,TE=1,RE=1,REIE=1,CKE1=0 */ -# define SCSCR_INIT(port) 0x38 -#else /* TIE=0,RIE=0,TE=1,RE=1,REIE=1,CKE1=1 */ # define SCSCR_INIT(port) 0x3a -#endif #elif defined(CONFIG_CPU_SH7786) # define SCSPTR0 0xffea0024 /* 16 bit SCIF */ @@ -641,9 +636,8 @@ static inline int sci_rxd_in(struct uart_port *port) * -- Mitch Davis - 15 Jul 2000 */ -#if (defined(CONFIG_CPU_SH7780) || \ - defined(CONFIG_CPU_SH7786)) && \ - !defined(CONFIG_SH_SH2007) +#if defined(CONFIG_CPU_SH7780) || \ + defined(CONFIG_CPU_SH7786) #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) #elif defined(CONFIG_CPU_SH7705) || \ defined(CONFIG_CPU_SH7720) || \ |