OMAP3: serial - allow platforms specify which UARTs to initialize
authorMika Westerberg <ext-mika.1.westerberg@nokia.com>
Sat, 12 Dec 2009 00:16:35 +0000 (16:16 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:35 +0000 (16:16 -0800)
commitf62349ee9788b1d94c55eb6c291d74a1f69bdd9e
tree193154ad405a30910684c5521b797908db4e5dc9
parentedc961a2fa51cf3fceba8df8bb52c7a048e4661b
OMAP3: serial - allow platforms specify which UARTs to initialize

This patch adds new function: omap_serial_init_port(port) that can be
used to initialize only selected UARTs as serial ports. Platforms can
then in their board files call this function instead of omap_serial_init()
if they don't want to use all UARTs as serial ports.

Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c
arch/arm/plat-omap/include/plat/serial.h