summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-05-05 11:31:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-05-05 11:31:44 +0200
commit5485383d60cd62f1306c5ba6b781e684ba5c2ec3 (patch)
treea10523f97dbbfccb1b4a45e55a915831157394d9 /common/Kconfig
parent8e91536a000c1738e354827d6f72965fa1444985 (diff)
parent243530107ad99daa9456e8843efef25326d2a613 (diff)
downloadbarebox-5485383d60cd62f1306c5ba6b781e684ba5c2ec3.tar.gz
Merge branch 'for-next/socfpga'
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig29
1 files changed, 29 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 62733e1..bc7cb0f 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