Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00b9de9c authored by Paul Mundt's avatar Paul Mundt
Browse files

serial: sh-sci: Move SCSCR_INIT in to platform data.



This moves all of the SCSCR_INIT definitions in to the platform data,
for future consolidation.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent bb38c222
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -63,16 +63,19 @@ static struct plat_sci_port sci_platform_data[] = {
	{
		.mapbase	= 0xf8400000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 88, 88, 88, 88 },
	}, {
		.mapbase	= 0xf8410000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 92, 92, 92, 92 },
	}, {
		.mapbase	= 0xf8420000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 96, 96, 96, 96 },
	}, {
+1 −0
Original line number Diff line number Diff line
@@ -211,6 +211,7 @@ static struct plat_sci_port sci_platform_data[] = {
	{
		.mapbase	= 0xff804000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 220, 220, 220, 220 },
	}, {
+8 −0
Original line number Diff line number Diff line
@@ -181,41 +181,49 @@ static struct plat_sci_port sci_platform_data[] = {
	{
		.mapbase	= 0xfffe8000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 180, 180, 180, 180 }
	}, {
		.mapbase	= 0xfffe8800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 184, 184, 184, 184 }
	}, {
		.mapbase	= 0xfffe9000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 188, 188, 188, 188 }
	}, {
		.mapbase	= 0xfffe9800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 192, 192, 192, 192 }
	}, {
		.mapbase	= 0xfffea000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 196, 196, 196, 196 }
	}, {
		.mapbase	= 0xfffea800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 200, 200, 200, 200 }
	}, {
		.mapbase	= 0xfffeb000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 204, 204, 204, 204 }
	}, {
		.mapbase	= 0xfffeb800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 208, 208, 208, 208 }
	}, {
+4 −0
Original line number Diff line number Diff line
@@ -177,21 +177,25 @@ static struct plat_sci_port sci_platform_data[] = {
	{
		.mapbase	= 0xfffe8000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		=  { 192, 192, 192, 192 },
	}, {
		.mapbase	= 0xfffe8800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		=  { 196, 196, 196, 196 },
	}, {
		.mapbase	= 0xfffe9000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		=  { 200, 200, 200, 200 },
	}, {
		.mapbase	= 0xfffe9800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		=  { 204, 204, 204, 204 },
	}, {
+4 −0
Original line number Diff line number Diff line
@@ -137,21 +137,25 @@ static struct plat_sci_port sci_platform_data[] = {
	{
		.mapbase	= 0xfffe8000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 240, 240, 240, 240 },
	}, {
		.mapbase	= 0xfffe8800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 244, 244, 244, 244 },
	}, {
		.mapbase	= 0xfffe9000,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 248, 248, 248, 248 },
	}, {
		.mapbase	= 0xfffe9800,
		.flags		= UPF_BOOT_AUTOCONF,
		.scscr		= SCSCR_RE | SCSCR_TE | SCSCR_REIE,
		.type		= PORT_SCIF,
		.irqs		= { 252, 252, 252, 252 },
	}, {
Loading