[PATCH 13/13 v3] OMAP3: SERIAL: Initialize all omap-uarts for zoom boards

Govindraj.R govindraj.raja at ti.com
Mon Sep 27 10:51:05 EDT 2010


Iniatize all omap-uarts for zoom boards.
Now zoom_peripheral_init will initialise
all uarts for 3630. 3630sdp_board_init call
zoom_peripheral_init so we can now remove
serial_init from 3630sdp board init as
zoom_peripheral_init now will do that the
same.

Signed-off-by: Kevin Hilman <khilman at ti.com>
Signed-off-by: Anand Gadiyar <gadiyar at ti.com>
Signed-off-by: Govindraj.R <govindraj.raja at ti.com>
---
 arch/arm/mach-omap2/board-3630sdp.c          |    1 -
 arch/arm/mach-omap2/board-zoom-peripherals.c |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/board-3630sdp.c b/arch/arm/mach-omap2/board-3630sdp.c
index b359c3f..d510451 100644
--- a/arch/arm/mach-omap2/board-3630sdp.c
+++ b/arch/arm/mach-omap2/board-3630sdp.c
@@ -208,7 +208,6 @@ static struct flash_partitions sdp_flash_partitions[] = {
 static void __init omap_sdp_init(void)
 {
 	omap3_mux_init(board_mux, OMAP_PACKAGE_CBP);
-	omap_serial_init();
 	zoom_peripherals_init();
 	board_smc91x_init();
 	board_flash_init(sdp_flash_partitions, chip_sel_sdp);
diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c
b/arch/arm/mach-omap2/board-zoom-peripherals.c
index 6b39849..641765a 100644
--- a/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -282,4 +282,5 @@ void __init zoom_peripherals_init(void)
 	omap_i2c_init();
 	usb_musb_init(&musb_board_data);
 	enable_board_wakeup_source();
+	omap_serial_init();
 }
-- 
1.6.3.3





More information about the linux-arm-kernel mailing list