summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-06 10:09:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-06 10:27:03 +0100
commitb4db05f2cb2addf8b6f5933cab7903b18e966227 (patch)
tree4c0e559b5df3216b1bcd179c5a8673a4b1da80ac /common
parent85b7864a3d619e9d2fa839a784c0800773621f3b (diff)
downloadbarebox-b4db05f2cb2addf8b6f5933cab7903b18e966227.tar.gz
ARM: rpi: move debug UART Kconfig settings
In contrast to other architectures, R.Pi debug UART config was placed under the "System Type" menu, not under the "Debugging -> low-level debugging port". This made this setting easy to miss when enabling low level debug mesages. While at it use the existing base address defines rather than defining them again in Kconfig. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 21b33f0..563cf15 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1159,6 +1159,19 @@ config DEBUG_SOCFPGA_UART1
Say Y here if you want kernel low-level debugging support
on SOCFPGA(Arria 10) based platforms.
+config DEBUG_RPI1_UART
+ bool "RaspberryPi 1 debug UART"
+ depends on ARCH_BCM283X
+ help
+ Say Y here if you want low-level debugging support on
+ RaspberryPi 1 boards.
+
+config DEBUG_RPI2_UART
+ bool "RaspberryPi 2/3 debug UART"
+ depends on ARCH_BCM283X
+ help
+ Say Y here if you want low-level debugging support on
+ RaspberryPi 2 and 3 boards.
endchoice