diff options
-rw-r--r-- | drivers/serial/sh-sci.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/serial/sh-sci.h b/drivers/serial/sh-sci.h index cd728df6a01a..8a0749e34ca3 100644 --- a/drivers/serial/sh-sci.h +++ b/drivers/serial/sh-sci.h | |||
@@ -451,19 +451,21 @@ SCIx_FNS(SCxSR, 0x08, 8, 0x10, 8, 0x08, 16, 0x10, 16, 0x04, 8) | |||
451 | SCIx_FNS(SCxRDR, 0x0a, 8, 0x14, 8, 0x0A, 8, 0x14, 8, 0x05, 8) | 451 | SCIx_FNS(SCxRDR, 0x0a, 8, 0x14, 8, 0x0A, 8, 0x14, 8, 0x05, 8) |
452 | SCIF_FNS(SCFCR, 0x0c, 8, 0x18, 16) | 452 | SCIF_FNS(SCFCR, 0x0c, 8, 0x18, 16) |
453 | #if defined(CONFIG_CPU_SUBTYPE_SH7760) || \ | 453 | #if defined(CONFIG_CPU_SUBTYPE_SH7760) || \ |
454 | defined(CONFIG_CPU_SUBTYPE_SH7763) || \ | ||
455 | defined(CONFIG_CPU_SUBTYPE_SH7780) || \ | 454 | defined(CONFIG_CPU_SUBTYPE_SH7780) || \ |
456 | defined(CONFIG_CPU_SUBTYPE_SH7785) | 455 | defined(CONFIG_CPU_SUBTYPE_SH7785) |
456 | SCIF_FNS(SCFDR, 0x0e, 16, 0x1C, 16) | ||
457 | SCIF_FNS(SCTFDR, 0x0e, 16, 0x1C, 16) | 457 | SCIF_FNS(SCTFDR, 0x0e, 16, 0x1C, 16) |
458 | SCIF_FNS(SCRFDR, 0x0e, 16, 0x20, 16) | 458 | SCIF_FNS(SCRFDR, 0x0e, 16, 0x20, 16) |
459 | SCIF_FNS(SCSPTR, 0, 0, 0x24, 16) | 459 | SCIF_FNS(SCSPTR, 0, 0, 0x24, 16) |
460 | SCIF_FNS(SCLSR, 0, 0, 0x28, 16) | 460 | SCIF_FNS(SCLSR, 0, 0, 0x28, 16) |
461 | #if defined(CONFIG_CPU_SUBTYPE_SH7763) | 461 | #elif defined(CONFIG_CPU_SUBTYPE_SH7763) |
462 | /* SH7763 SCIF2 */ | ||
463 | SCIF_FNS(SCFDR, 0, 0, 0x1C, 16) | 462 | SCIF_FNS(SCFDR, 0, 0, 0x1C, 16) |
464 | SCIF_FNS(SCSPTR2, 0, 0, 0x20, 16) | 463 | SCIF_FNS(SCSPTR2, 0, 0, 0x20, 16) |
465 | SCIF_FNS(SCLSR2, 0, 0, 0x24, 16) | 464 | SCIF_FNS(SCLSR2, 0, 0, 0x24, 16) |
466 | #endif /* CONFIG_CPU_SUBTYPE_SH7763 */ | 465 | SCIF_FNS(SCTFDR, 0x0e, 16, 0x1C, 16) |
466 | SCIF_FNS(SCRFDR, 0x0e, 16, 0x20, 16) | ||
467 | SCIF_FNS(SCSPTR, 0, 0, 0x24, 16) | ||
468 | SCIF_FNS(SCLSR, 0, 0, 0x28, 16) | ||
467 | #else | 469 | #else |
468 | SCIF_FNS(SCFDR, 0x0e, 16, 0x1C, 16) | 470 | SCIF_FNS(SCFDR, 0x0e, 16, 0x1C, 16) |
469 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) | 471 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) |