diff options
author | Alexandre Pereira da Silva <aletes.xgr@gmail.com> | 2012-06-13 19:34:25 -0300 |
---|---|---|
committer | Roland Stigge <stigge@antcom.de> | 2012-06-14 16:16:19 +0200 |
commit | 5fe8f11ccb63298bcaab34994c3ca04fd6d30887 (patch) | |
tree | 17c054d48a96c88b1157cbdbb2fd994b6de88783 /arch/arm/mach-lpc32xx/serial.c | |
parent | 112e9adda4ddcd56895f20c4c886d2493d7907f3 (diff) |
ARM: LPC32xx: Move uart6 irda disable to serial.c
Move the irda configuration to serial.c where other special cases are
handled
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Roland Stigge <stigge@antcom.de>
Diffstat (limited to 'arch/arm/mach-lpc32xx/serial.c')
-rw-r--r-- | arch/arm/mach-lpc32xx/serial.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-lpc32xx/serial.c b/arch/arm/mach-lpc32xx/serial.c index b5a3f3423f63..05621a29fba2 100644 --- a/arch/arm/mach-lpc32xx/serial.c +++ b/arch/arm/mach-lpc32xx/serial.c @@ -118,6 +118,11 @@ void __init lpc32xx_serial_init(void) __raw_writel(0, LPC32XX_UART_IIR_FCR(puart)); } + /* Disable IrDA pulsing support on UART6 */ + tmp = __raw_readl(LPC32XX_UARTCTL_CTRL); + tmp |= LPC32XX_UART_UART6_IRDAMOD_BYPASS; + __raw_writel(tmp, LPC32XX_UARTCTL_CTRL); + /* Disable UART5->USB transparent mode or USB won't work */ tmp = __raw_readl(LPC32XX_UARTCTL_CTRL); tmp &= ~LPC32XX_UART_U5_ROUTE_TO_USB; |