Loading arch/mips/Kconfig.debug +8 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,14 @@ config DEBUG_ZBOOT to reduce the kernel image size and speed up the booting procedure a little. config ZBOOT_INGENIC_UART int "UART to use for compressed kernel debugging" depends on DEBUG_ZBOOT && MACH_INGENIC_SOC default 0 range 0 4 help Specify the UART that should be used for compressed kernel debugging. config SPINLOCK_TEST bool "Enable spinlock timing tests in debugfs" depends on DEBUG_FS Loading arch/mips/boot/compressed/uart-16550.c +2 −2 Original line number Diff line number Diff line Loading @@ -19,8 +19,8 @@ #endif #ifdef CONFIG_MACH_INGENIC #define INGENIC_UART0_BASE_ADDR 0x10030000 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART0_BASE_ADDR) + (4 * offset)) #define INGENIC_UART_BASE_ADDR (0x10030000 + 0x1000 * CONFIG_ZBOOT_INGENIC_UART) #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) #endif #ifdef CONFIG_CPU_XLR Loading Loading
arch/mips/Kconfig.debug +8 −0 Original line number Diff line number Diff line Loading @@ -102,6 +102,14 @@ config DEBUG_ZBOOT to reduce the kernel image size and speed up the booting procedure a little. config ZBOOT_INGENIC_UART int "UART to use for compressed kernel debugging" depends on DEBUG_ZBOOT && MACH_INGENIC_SOC default 0 range 0 4 help Specify the UART that should be used for compressed kernel debugging. config SPINLOCK_TEST bool "Enable spinlock timing tests in debugfs" depends on DEBUG_FS Loading
arch/mips/boot/compressed/uart-16550.c +2 −2 Original line number Diff line number Diff line Loading @@ -19,8 +19,8 @@ #endif #ifdef CONFIG_MACH_INGENIC #define INGENIC_UART0_BASE_ADDR 0x10030000 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART0_BASE_ADDR) + (4 * offset)) #define INGENIC_UART_BASE_ADDR (0x10030000 + 0x1000 * CONFIG_ZBOOT_INGENIC_UART) #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) #endif #ifdef CONFIG_CPU_XLR Loading