diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-26 05:54:02 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:18:57 -0500 |
commit | a8f67f4b4d4b74cd14d3540ade8657ebee543340 (patch) | |
tree | 0196ebc52c34d157a86a89d519556f8172d24feb /drivers/serial/sh-sci.h | |
parent | 47a3eb95560ea525a2dfbee1c4e7f03a45fd2207 (diff) |
sh: Add SH7263 CPU support.
This adds support for the SH7263 (SH-2A) CPU.
This particular CPU is a superset of SH7203, adding some additional
peripheral blocks and hooking up additional (reserved on SH7203)
vectors in the INTC block.
No visibly nasty surprises, yet..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/serial/sh-sci.h')
-rw-r--r-- | drivers/serial/sh-sci.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index cde06a481829..0187dccfe8c1 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -143,7 +143,8 @@ | |||
143 | # define SCSCR_INIT(port) 0x3a /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ | 143 | # define SCSCR_INIT(port) 0x3a /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ |
144 | # define SCIF_ONLY | 144 | # define SCIF_ONLY |
145 | #elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \ | 145 | #elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \ |
146 | defined(CONFIG_CPU_SUBTYPE_SH7206) | 146 | defined(CONFIG_CPU_SUBTYPE_SH7206) || \ |
147 | defined(CONFIG_CPU_SUBTYPE_SH7263) | ||
147 | # define SCSPTR0 0xfffe8020 /* 16 bit SCIF */ | 148 | # define SCSPTR0 0xfffe8020 /* 16 bit SCIF */ |
148 | # define SCSPTR1 0xfffe8820 /* 16 bit SCIF */ | 149 | # define SCSPTR1 0xfffe8820 /* 16 bit SCIF */ |
149 | # define SCSPTR2 0xfffe9020 /* 16 bit SCIF */ | 150 | # define SCSPTR2 0xfffe9020 /* 16 bit SCIF */ |
@@ -619,7 +620,8 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
619 | return 1; | 620 | return 1; |
620 | } | 621 | } |
621 | #elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \ | 622 | #elif defined(CONFIG_CPU_SUBTYPE_SH7203) || \ |
622 | defined(CONFIG_CPU_SUBTYPE_SH7206) | 623 | defined(CONFIG_CPU_SUBTYPE_SH7206) || \ |
624 | defined(CONFIG_CPU_SUBTYPE_SH7263) | ||
623 | static inline int sci_rxd_in(struct uart_port *port) | 625 | static inline int sci_rxd_in(struct uart_port *port) |
624 | { | 626 | { |
625 | if (port->mapbase == 0xfffe8000) | 627 | if (port->mapbase == 0xfffe8000) |