diff options
Diffstat (limited to 'drivers/serial/sh-sci.h')
-rw-r--r-- | drivers/serial/sh-sci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index d2352ac437c5..4bc614e4221c 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -31,6 +31,7 @@ | |||
31 | # define SCSCR_INIT(port) (port->mapbase == SCIF2) ? 0xF3 : 0xF0 | 31 | # define SCSCR_INIT(port) (port->mapbase == SCIF2) ? 0xF3 : 0xF0 |
32 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 32 | #elif defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
33 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 33 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
34 | defined(CONFIG_ARCH_SH73A0) || \ | ||
34 | defined(CONFIG_ARCH_SH7367) || \ | 35 | defined(CONFIG_ARCH_SH7367) || \ |
35 | defined(CONFIG_ARCH_SH7377) || \ | 36 | defined(CONFIG_ARCH_SH7377) || \ |
36 | defined(CONFIG_ARCH_SH7372) | 37 | defined(CONFIG_ARCH_SH7372) |
@@ -244,6 +245,7 @@ | |||
244 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 245 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
245 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 246 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
246 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 247 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
248 | defined(CONFIG_ARCH_SH73A0) || \ | ||
247 | defined(CONFIG_ARCH_SH7367) || \ | 249 | defined(CONFIG_ARCH_SH7367) || \ |
248 | defined(CONFIG_ARCH_SH7377) || \ | 250 | defined(CONFIG_ARCH_SH7377) || \ |
249 | defined(CONFIG_ARCH_SH7372) | 251 | defined(CONFIG_ARCH_SH7372) |
@@ -280,6 +282,7 @@ | |||
280 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 282 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
281 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 283 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
282 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 284 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
285 | defined(CONFIG_ARCH_SH73A0) || \ | ||
283 | defined(CONFIG_ARCH_SH7367) || \ | 286 | defined(CONFIG_ARCH_SH7367) || \ |
284 | defined(CONFIG_ARCH_SH7377) || \ | 287 | defined(CONFIG_ARCH_SH7377) || \ |
285 | defined(CONFIG_ARCH_SH7372) | 288 | defined(CONFIG_ARCH_SH7372) |
@@ -378,6 +381,7 @@ | |||
378 | } | 381 | } |
379 | 382 | ||
380 | #if defined(CONFIG_CPU_SH3) || \ | 383 | #if defined(CONFIG_CPU_SH3) || \ |
384 | defined(CONFIG_ARCH_SH73A0) || \ | ||
381 | defined(CONFIG_ARCH_SH7367) || \ | 385 | defined(CONFIG_ARCH_SH7367) || \ |
382 | defined(CONFIG_ARCH_SH7377) || \ | 386 | defined(CONFIG_ARCH_SH7377) || \ |
383 | defined(CONFIG_ARCH_SH7372) | 387 | defined(CONFIG_ARCH_SH7372) |
@@ -391,6 +395,7 @@ | |||
391 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 395 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
392 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 396 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
393 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 397 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
398 | defined(CONFIG_ARCH_SH73A0) || \ | ||
394 | defined(CONFIG_ARCH_SH7367) || \ | 399 | defined(CONFIG_ARCH_SH7367) || \ |
395 | defined(CONFIG_ARCH_SH7377) | 400 | defined(CONFIG_ARCH_SH7377) |
396 | #define SCIF_FNS(name, scif_offset, scif_size) \ | 401 | #define SCIF_FNS(name, scif_offset, scif_size) \ |
@@ -433,6 +438,7 @@ | |||
433 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 438 | #if defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
434 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 439 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
435 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 440 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
441 | defined(CONFIG_ARCH_SH73A0) || \ | ||
436 | defined(CONFIG_ARCH_SH7367) || \ | 442 | defined(CONFIG_ARCH_SH7367) || \ |
437 | defined(CONFIG_ARCH_SH7377) | 443 | defined(CONFIG_ARCH_SH7377) |
438 | 444 | ||
@@ -632,6 +638,7 @@ static inline int sci_rxd_in(struct uart_port *port) | |||
632 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ | 638 | #elif defined(CONFIG_CPU_SUBTYPE_SH7705) || \ |
633 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ | 639 | defined(CONFIG_CPU_SUBTYPE_SH7720) || \ |
634 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ | 640 | defined(CONFIG_CPU_SUBTYPE_SH7721) || \ |
641 | defined(CONFIG_ARCH_SH73A0) || \ | ||
635 | defined(CONFIG_ARCH_SH7367) || \ | 642 | defined(CONFIG_ARCH_SH7367) || \ |
636 | defined(CONFIG_ARCH_SH7377) || \ | 643 | defined(CONFIG_ARCH_SH7377) || \ |
637 | defined(CONFIG_ARCH_SH7372) | 644 | defined(CONFIG_ARCH_SH7372) |