Loading arch/arm/Kconfig.debug +11 −2 Original line number Diff line number Diff line Loading @@ -251,6 +251,13 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6Q/DL. config DEBUG_IMX6SL_UART bool "i.MX6SL Debug UART" depends on SOC_IMX6SL help Say Y here if you want kernel low-level debugging support on i.MX6SL. config DEBUG_MMP_UART2 bool "Kernel low-level debugging message via MMP UART2" depends on ARCH_MMP Loading Loading @@ -532,7 +539,8 @@ config DEBUG_IMX_UART_PORT DEBUG_IMX35_UART || \ DEBUG_IMX51_UART || \ DEBUG_IMX53_UART || \ DEBUG_IMX6Q_UART DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART default 1 depends on ARCH_MXC help Loading Loading @@ -631,7 +639,8 @@ config DEBUG_LL_INCLUDE DEBUG_IMX35_UART || \ DEBUG_IMX51_UART || \ DEBUG_IMX53_UART ||\ DEBUG_IMX6Q_UART DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART default "debug/mvebu.S" if DEBUG_MVEBU_UART default "debug/mxs.S" if DEBUG_IMX23_UART || DEBUG_IMX28_UART default "debug/nomadik.S" if DEBUG_NOMADIK_UART Loading arch/arm/include/debug/imx-uart.h +10 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,14 @@ #define IMX6Q_UART_BASE_ADDR(n) IMX6Q_UART##n##_BASE_ADDR #define IMX6Q_UART_BASE(n) IMX6Q_UART_BASE_ADDR(n) #define IMX6SL_UART1_BASE_ADDR 0x02020000 #define IMX6SL_UART2_BASE_ADDR 0x02024000 #define IMX6SL_UART3_BASE_ADDR 0x02034000 #define IMX6SL_UART4_BASE_ADDR 0x02038000 #define IMX6SL_UART5_BASE_ADDR 0x02018000 #define IMX6SL_UART_BASE_ADDR(n) IMX6SL_UART##n##_BASE_ADDR #define IMX6SL_UART_BASE(n) IMX6SL_UART_BASE_ADDR(n) #define IMX_DEBUG_UART_BASE(soc) soc##_UART_BASE(CONFIG_DEBUG_IMX_UART_PORT) #ifdef CONFIG_DEBUG_IMX1_UART Loading @@ -83,6 +91,8 @@ #define UART_PADDR IMX_DEBUG_UART_BASE(IMX53) #elif defined(CONFIG_DEBUG_IMX6Q_UART) #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q) #elif defined(CONFIG_DEBUG_IMX6SL_UART) #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SL) #endif #endif /* __DEBUG_IMX_UART_H */ Loading
arch/arm/Kconfig.debug +11 −2 Original line number Diff line number Diff line Loading @@ -251,6 +251,13 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6Q/DL. config DEBUG_IMX6SL_UART bool "i.MX6SL Debug UART" depends on SOC_IMX6SL help Say Y here if you want kernel low-level debugging support on i.MX6SL. config DEBUG_MMP_UART2 bool "Kernel low-level debugging message via MMP UART2" depends on ARCH_MMP Loading Loading @@ -532,7 +539,8 @@ config DEBUG_IMX_UART_PORT DEBUG_IMX35_UART || \ DEBUG_IMX51_UART || \ DEBUG_IMX53_UART || \ DEBUG_IMX6Q_UART DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART default 1 depends on ARCH_MXC help Loading Loading @@ -631,7 +639,8 @@ config DEBUG_LL_INCLUDE DEBUG_IMX35_UART || \ DEBUG_IMX51_UART || \ DEBUG_IMX53_UART ||\ DEBUG_IMX6Q_UART DEBUG_IMX6Q_UART || \ DEBUG_IMX6SL_UART default "debug/mvebu.S" if DEBUG_MVEBU_UART default "debug/mxs.S" if DEBUG_IMX23_UART || DEBUG_IMX28_UART default "debug/nomadik.S" if DEBUG_NOMADIK_UART Loading
arch/arm/include/debug/imx-uart.h +10 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,14 @@ #define IMX6Q_UART_BASE_ADDR(n) IMX6Q_UART##n##_BASE_ADDR #define IMX6Q_UART_BASE(n) IMX6Q_UART_BASE_ADDR(n) #define IMX6SL_UART1_BASE_ADDR 0x02020000 #define IMX6SL_UART2_BASE_ADDR 0x02024000 #define IMX6SL_UART3_BASE_ADDR 0x02034000 #define IMX6SL_UART4_BASE_ADDR 0x02038000 #define IMX6SL_UART5_BASE_ADDR 0x02018000 #define IMX6SL_UART_BASE_ADDR(n) IMX6SL_UART##n##_BASE_ADDR #define IMX6SL_UART_BASE(n) IMX6SL_UART_BASE_ADDR(n) #define IMX_DEBUG_UART_BASE(soc) soc##_UART_BASE(CONFIG_DEBUG_IMX_UART_PORT) #ifdef CONFIG_DEBUG_IMX1_UART Loading @@ -83,6 +91,8 @@ #define UART_PADDR IMX_DEBUG_UART_BASE(IMX53) #elif defined(CONFIG_DEBUG_IMX6Q_UART) #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6Q) #elif defined(CONFIG_DEBUG_IMX6SL_UART) #define UART_PADDR IMX_DEBUG_UART_BASE(IMX6SL) #endif #endif /* __DEBUG_IMX_UART_H */