Loading arch/arm/Kconfig.debug +14 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,20 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6Q UART4. config DEBUG_MMP_UART2 bool "Kernel low-level debugging message via MMP UART2" depends on ARCH_MMP help Say Y here if you want kernel low-level debugging support on MMP UART2. config DEBUG_MMP_UART3 bool "Kernel low-level debugging message via MMP UART3" depends on ARCH_MMP help Say Y here if you want kernel low-level debugging support on MMP UART3. config DEBUG_MSM_UART1 bool "Kernel low-level debugging messages via MSM UART1" depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 Loading arch/arm/mach-mmp/include/mach/debug-macro.S +10 −2 Original line number Diff line number Diff line Loading @@ -9,13 +9,21 @@ * published by the Free Software Foundation. */ #if defined(CONFIG_DEBUG_MMP_UART2) #define MMP_UART_OFFSET 0x00017000 #elif defined(CONFIG_DEBUG_MMP_UART3) #define MMP_UART_OFFSET 0x00018000 #else #error "Select uart for DEBUG_LL" #endif #include <mach/addr-map.h> .macro addruart, rp, rv, tmp ldr \rp, =APB_PHYS_BASE @ physical ldr \rv, =APB_VIRT_BASE @ virtual orr \rp, \rp, #0x00017000 orr \rv, \rv, #0x00017000 orr \rp, \rp, #MMP_UART_OFFSET orr \rv, \rv, #MMP_UART_OFFSET .endm #define UART_SHIFT 2 Loading Loading
arch/arm/Kconfig.debug +14 −0 Original line number Diff line number Diff line Loading @@ -224,6 +224,20 @@ choice Say Y here if you want kernel low-level debugging support on i.MX6Q UART4. config DEBUG_MMP_UART2 bool "Kernel low-level debugging message via MMP UART2" depends on ARCH_MMP help Say Y here if you want kernel low-level debugging support on MMP UART2. config DEBUG_MMP_UART3 bool "Kernel low-level debugging message via MMP UART3" depends on ARCH_MMP help Say Y here if you want kernel low-level debugging support on MMP UART3. config DEBUG_MSM_UART1 bool "Kernel low-level debugging messages via MSM UART1" depends on ARCH_MSM7X00A || ARCH_MSM7X30 || ARCH_QSD8X50 Loading
arch/arm/mach-mmp/include/mach/debug-macro.S +10 −2 Original line number Diff line number Diff line Loading @@ -9,13 +9,21 @@ * published by the Free Software Foundation. */ #if defined(CONFIG_DEBUG_MMP_UART2) #define MMP_UART_OFFSET 0x00017000 #elif defined(CONFIG_DEBUG_MMP_UART3) #define MMP_UART_OFFSET 0x00018000 #else #error "Select uart for DEBUG_LL" #endif #include <mach/addr-map.h> .macro addruart, rp, rv, tmp ldr \rp, =APB_PHYS_BASE @ physical ldr \rv, =APB_VIRT_BASE @ virtual orr \rp, \rp, #0x00017000 orr \rv, \rv, #0x00017000 orr \rp, \rp, #MMP_UART_OFFSET orr \rv, \rv, #MMP_UART_OFFSET .endm #define UART_SHIFT 2 Loading