Commit 176e6810 authored by Russell King's avatar Russell King

[ARM PATCH] 1376/1: Use #defines for iq80310 serial port

Patch from Eli Carter

linux/include/asm-arm/arch-iop310/serial.h
uses hardcoded 0xfe800000, while
linux/include/asm-arm/arch-iop310/iq80310.h
gives us a #define for the UART locations.

This patch changes serial.h to use the #defines from iq80310.h
parent 339542b4
......@@ -24,8 +24,8 @@
#define STD_SERIAL_PORT_DEFNS \
/* UART CLK PORT IRQ FLAGS */ \
{ 0, BASE_BAUD, 0xfe810000, IRQ_UART2, STD_COM_FLAGS }, /* ttyS0 */ \
{ 0, BASE_BAUD, 0xfe800000, IRQ_UART1, STD_COM_FLAGS } /* ttyS1 */
{ 0, BASE_BAUD, IQ80310_UART2, IRQ_UART2, STD_COM_FLAGS }, /* ttyS0 */ \
{ 0, BASE_BAUD, IQ80310_UART1, IRQ_UART1, STD_COM_FLAGS } /* ttyS1 */
#endif // CONFIG_ARCH_IQ80310
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment