]> git.sur5r.net Git - u-boot/commitdiff
serial_mxc: add support for MX53 processor
authorLiu Hui-R64343 <r64343@freescale.com>
Mon, 3 Jan 2011 22:27:37 +0000 (22:27 +0000)
committerAlbert Aribaud <albert.aribaud@free.fr>
Tue, 1 Feb 2011 23:54:41 +0000 (00:54 +0100)
This patch add UART support for Freescale MX53 processor

Signed-off-by: Jason Liu <r64343@freescale.com>
drivers/serial/serial_mxc.c

index f96b21f7b1bc32f7390241661e08e89550620d6e..805f4c5c5c7674cbbc4fbadad3b916edc3635c21 100644 (file)
 #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