Patchwork [U-Boot,2/5] serial_mxc: add support for MX53 processor

login
register
mail settings
Submitter Liu Hui-R64343
Date Dec. 16, 2010, 10:17 a.m.
Message ID <1292494665-25674-3-git-send-email-r64343@freescale.com>
Download mbox | patch
Permalink /patch/75732/
State Accepted
Commit 0c466ad017cebd4919b9905eb82a99140163be76
Headers show

Comments

Liu Hui-R64343 - Dec. 16, 2010, 10:17 a.m.
This patch add UART support for Freescale MX53 processor

Signed-off-by: Jason Liu <r64343@freescale.com>
---
 drivers/serial/serial_mxc.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c
index f96b21f..805f4c5 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