diff options
Diffstat (limited to 'arch/arm/include/debug/imx-uart.h')
-rw-r--r-- | arch/arm/include/debug/imx-uart.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/debug/imx-uart.h b/arch/arm/include/debug/imx-uart.h index 91d38e38a0b4..29da84e183f4 100644 --- a/arch/arm/include/debug/imx-uart.h +++ b/arch/arm/include/debug/imx-uart.h | |||
@@ -65,6 +65,14 @@ | |||
65 | #define IMX6Q_UART_BASE_ADDR(n) IMX6Q_UART##n##_BASE_ADDR | 65 | #define IMX6Q_UART_BASE_ADDR(n) IMX6Q_UART##n##_BASE_ADDR |
66 | #define IMX6Q_UART_BASE(n) IMX6Q_UART_BASE_ADDR(n) | 66 | #define IMX6Q_UART_BASE(n) IMX6Q_UART_BASE_ADDR(n) |
67 | 67 | ||
68 | #define IMX6SL_UART1_BASE_ADDR 0x02020000 | ||
69 | #define IMX6SL_UART2_BASE_ADDR 0x02024000 | ||
70 | #define IMX6SL_UART3_BASE_ADDR 0x02034000 | ||
71 | #define IMX6SL_UART4_BASE_ADDR 0x02038000 | ||
72 | #define IMX6SL_UART5_BASE_ADDR 0x02018000 | ||
73 | #define IMX6SL_UART_BASE_ADDR(n) IMX6SL_UART##n##_BASE_ADDR | ||
74 | #define IMX6SL_UART_BASE(n) IMX6SL_UART_BASE_ADDR(n) | ||
75 | |||
68 | #define IMX_DEBUG_UART_BASE(soc) soc##_UART_BASE(CONFIG_DEBUG_IMX_UART_PORT) | 76 | #define IMX_DEBUG_UART_BASE(soc) soc##_UART_BASE(CONFIG_DEBUG_IMX_UART_PORT) |
69 | 77 | ||
70 | #ifdef CONFIG_DEBUG_IMX1_UART | 78 | #ifdef CONFIG_DEBUG_IMX1_UART |
@@ -83,6 +91,8 @@ | |||
83 | #define UART_PADDR IMX_DEBUG_UART_BASE(IMX53) | 91 | #define UART_PADDR IMX_DEBUG_UART_BASE(IMX53) |
84 | #elif defined(CONFIG_DEBUG_IMX6Q_UART) | 92 | #elif defined(CONFIG_DEBUG_IMX6Q_UART) |
85 | #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q) | 93 | #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q) |
94 | #elif defined(CONFIG_DEBUG_IMX6SL_UART) | ||
95 | #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SL) | ||
86 | #endif | 96 | #endif |
87 | 97 | ||
88 | #endif /* __DEBUG_IMX_UART_H */ | 98 | #endif /* __DEBUG_IMX_UART_H */ |