diff mbox

omap2/3/4: serial: Half revert multiboot changes

Message ID A24693684029E5489D1D202277BE8944538C6D68@dlee02.ent.ti.com (mailing list archive)
State Changes Requested, archived
Delegated to: Tony Lindgren
Headers show

Commit Message

Aguirre Rodriguez, Sergio Alberto Feb. 24, 2010, 7:30 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
index b79bc89..fe3122b 100644
--- a/arch/arm/mach-omap2/serial.c
+++ b/arch/arm/mach-omap2/serial.c
@@ -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,
@@ -132,11 +131,6 @@  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)
 {
@@ -597,7 +591,7 @@  static struct omap_uart_state omap_uart[] = {
 			},
 		},
 	},
-#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_ARCH_OMAP4)
+#ifdef CONFIG_ARCH_OMAP4
 	{
 		.pdev = {
 			.name			= "serial8250",
@@ -764,7 +758,7 @@  void __init omap_serial_init(void)
 {
 	int i, nr_ports;
 
-	if (!(cpu_is_omap3630() || cpu_is_omap4430()))
+	if (!cpu_is_omap4430())
 		nr_ports = 3;
 	else
 		nr_ports = ARRAY_SIZE(omap_uart);