Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190267
b: refs/heads/master
c: 4b1bbd3
h: refs/heads/master
i:
  190265: 2b506f6
  190263: f3e3b5e
v: v3
  • Loading branch information
Sergio Aguirre committed Mar 15, 2010
1 parent d38b6a2 commit 0d02b95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 10c805eb4f89d44fe4e457d727b59af15c4a4a36
refs/heads/master: 4b1bbd3fd9384ad6ca62903172ccb6a8729dd897
14 changes: 1 addition & 13 deletions trunk/arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ static struct plat_serial8250_port serial_platform_data2[] = {
}
};

#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
static struct plat_serial8250_port serial_platform_data3[] = {
{
.irq = 70,
Expand All @@ -128,23 +127,12 @@ static struct plat_serial8250_port serial_platform_data3[] = {
}
};

static inline void omap2_set_globals_uart4(struct omap_globals *omap2_globals)
{
serial_platform_data3[0].mapbase = omap2_globals->uart4_phys;
}
#else
static inline void omap2_set_globals_uart4(struct omap_globals *omap2_globals)
{
}
#endif

void __init omap2_set_globals_uart(struct omap_globals *omap2_globals)
{
serial_platform_data0[0].mapbase = omap2_globals->uart1_phys;
serial_platform_data1[0].mapbase = omap2_globals->uart2_phys;
serial_platform_data2[0].mapbase = omap2_globals->uart3_phys;
if (cpu_is_omap3630() || cpu_is_omap44xx())
omap2_set_globals_uart4(omap2_globals);
serial_platform_data3[0].mapbase = omap2_globals->uart4_phys;
}

static inline unsigned int __serial_read_reg(struct uart_port *up,
Expand Down

0 comments on commit 0d02b95

Please sign in to comment.