diff options
Diffstat (limited to 'common/Kconfig')
-rw-r--r-- | common/Kconfig | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 62733e1dc4..bc7cb0fe76 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -1123,6 +1123,21 @@ config DEBUG_ROCKCHIP_UART Say Y here if you want kernel low-level debugging support on RK3XXX. +config DEBUG_SOCFPGA_UART0 + bool "Use SOCFPGA UART0 for low-level debug" + depends on ARCH_SOCFPGA + help + Say Y here if you want kernel low-level debugging support + on SOCFPGA(Cyclone 5 and Arria 5) based platforms. + +config DEBUG_SOCFPGA_UART1 + bool "Use SOCFPGA UART1 for low-level debug" + depends on ARCH_SOCFPGA + help + Say Y here if you want kernel low-level debugging support + on SOCFPGA(Arria 10) based platforms. + + endchoice config DEBUG_IMX_UART_PORT @@ -1165,6 +1180,20 @@ config DEBUG_ROCKCHIP_UART_PORT Choose UART port on which kernel low-level debug messages should be output. +config DEBUG_SOCFPGA_UART_PHYS_ADDR + hex "Physical base address of debug UART" if DEBUG_LL + default 0xffc02000 if DEBUG_SOCFPGA_UART0 + default 0xffc02100 if DEBUG_SOCFPGA_UART1 + depends on ARCH_SOCFPGA + +config DEBUG_SOCFPGA_UART_CLOCK + int "SoCFPGA UART debug clock" if DEBUG_LL + default 100000000 if ARCH_SOCFPGA_CYCLONE5 + default 50000000 if ARCH_SOCFPGA_ARRIA10 + depends on ARCH_SOCFPGA + help + Choose UART root clock. + config DEBUG_INITCALLS bool "Trace initcalls" help |