summaryrefslogtreecommitdiffstats
path: root/common/Kconfig
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2017-04-28 16:41:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-05-03 13:51:21 +0200
commitdb3feb61d19060a0589f3906a8a081bebd934ace (patch)
tree441d4712a0fbc514d5729e22d0a53c6ea67496d2 /common/Kconfig
parent0df547e24e44dec8615f89dd21b946e881e608a9 (diff)
downloadbarebox-db3feb61d19060a0589f3906a8a081bebd934ace.tar.gz
ARM: socfpga: make debug_ll configurable
Allow configuring the serial port and clock rate instead of hardcoding it. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Kconfig')
-rw-r--r--common/Kconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 8dd40db..4c7a2d2 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1122,6 +1122,14 @@ 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.
+
+
endchoice
config DEBUG_IMX_UART_PORT
@@ -1164,6 +1172,18 @@ 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
+ depends on ARCH_SOCFPGA
+
+config DEBUG_SOCFPGA_UART_CLOCK
+ int "SoCFPGA UART debug clock" if DEBUG_LL
+ default 100000000
+ depends on ARCH_SOCFPGA
+ help
+ Choose UART root clock.
+
config DEBUG_INITCALLS
bool "Trace initcalls"
help