]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/sh/kernel/cpu/sh3/setup-sh7710.c
serial: sh-sci: Move SCBRR calculation algo in to platform data.
[karo-tx-linux.git] / arch / sh / kernel / cpu / sh3 / setup-sh7710.c
index 007627ecb7c85bdb46d6676c9a83888c9275f681..9a60ffd34a9f5721ccbed550f2cecaa3034ca221 100644 (file)
@@ -102,6 +102,7 @@ static struct plat_sci_port sci_platform_data[] = {
                .flags          = UPF_BOOT_AUTOCONF,
                .scscr          = SCSCR_TE | SCSCR_RE | SCSCR_REIE |
                                  SCSCR_CKE1 | SCSCR_CKE0,
+               .scbrr_algo_id  = SCBRR_ALGO_2,
                .type           = PORT_SCIF,
                .irqs           = { 52, 52, 52, 52 },
        }, {
@@ -109,6 +110,7 @@ static struct plat_sci_port sci_platform_data[] = {
                .flags          = UPF_BOOT_AUTOCONF,
                .scscr          = SCSCR_TE | SCSCR_RE | SCSCR_REIE |
                                  SCSCR_CKE1 | SCSCR_CKE0,
+               .scbrr_algo_id  = SCBRR_ALGO_2,
                .type           = PORT_SCIF,
                .irqs           = { 56, 56, 56, 56 },
        }, {