serial: sh-sci: Move SCBRR calculation algo in to platform data.
[pandora-kernel.git] / arch / sh / kernel / cpu / sh4 / setup-sh7760.c
index 74b5e99..cee660f 100644 (file)
@@ -131,24 +131,28 @@ static struct plat_sci_port sci_platform_data[] = {
                .mapbase        = 0xfe600000,
                .flags          = UPF_BOOT_AUTOCONF,
                .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+               .scbrr_algo_id  = SCBRR_ALGO_2,
                .type           = PORT_SCIF,
                .irqs           = { 52, 53, 55, 54 },
        }, {
                .mapbase        = 0xfe610000,
                .flags          = UPF_BOOT_AUTOCONF,
                .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+               .scbrr_algo_id  = SCBRR_ALGO_2,
                .type           = PORT_SCIF,
                .irqs           = { 72, 73, 75, 74 },
        }, {
                .mapbase        = 0xfe620000,
                .flags          = UPF_BOOT_AUTOCONF,
                .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+               .scbrr_algo_id  = SCBRR_ALGO_2,
                .type           = PORT_SCIF,
                .irqs           = { 76, 77, 79, 78 },
        }, {
                .mapbase        = 0xfe480000,
                .flags          = UPF_BOOT_AUTOCONF,
                .scscr          = SCSCR_RE | SCSCR_TE | SCSCR_REIE,
+               .scbrr_algo_id  = SCBRR_ALGO_2,
                .type           = PORT_SCI,
                .irqs           = { 80, 81, 82, 0 },
        }, {