summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLiu Hui-R64343 <r64343@freescale.com>2011-01-03 22:27:37 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-02 00:54:41 +0100
commit0c466ad017cebd4919b9905eb82a99140163be76 (patch)
tree0f63a5ee7e0cec95cb21ddbf2079cfdc51c1589b /drivers
parent96912453fe9707d84874da56cef94d715adc6e29 (diff)
serial_mxc: add support for MX53 processor
This patch add UART support for Freescale MX53 processor Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/serial_mxc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
index f96b21f7b1..805f4c5c5c 100644
--- a/drivers/serial/serial_mxc.c
+++ b/drivers/serial/serial_mxc.c
@@ -56,6 +56,12 @@
#define UART_PHYS UART2_BASE_ADDR
#elif defined(CONFIG_SYS_MX51_UART3)
#define UART_PHYS UART3_BASE_ADDR
+#elif defined(CONFIG_SYS_MX53_UART1)
+#define UART_PHYS UART1_BASE_ADDR
+#elif defined(CONFIG_SYS_MX53_UART2)
+#define UART_PHYS UART2_BASE_ADDR
+#elif defined(CONFIG_SYS_MX53_UART3)
+#define UART_PHYS UART3_BASE_ADDR
#else
#error "define CONFIG_SYS_MXxx_UARTx to use the MXC UART driver"
#endif