diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-05 11:31:44 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-05 11:31:44 +0200 |
commit | 5485383d60cd62f1306c5ba6b781e684ba5c2ec3 (patch) | |
tree | a10523f97dbbfccb1b4a45e55a915831157394d9 /common | |
parent | 8e91536a000c1738e354827d6f72965fa1444985 (diff) | |
parent | 243530107ad99daa9456e8843efef25326d2a613 (diff) | |
download | barebox-5485383d60cd62f1306c5ba6b781e684ba5c2ec3.tar.gz barebox-5485383d60cd62f1306c5ba6b781e684ba5c2ec3.tar.xz |
Merge branch 'for-next/socfpga'
Diffstat (limited to 'common')
-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 |