summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-06-09 07:59:20 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-06-17 08:28:55 +0200
commit5f3249f5a1ac75afaf02506b155db63b6dea3bf9 (patch)
tree00dbac62737a6b98aea424b0d52b447ecec2a6d1 /common
parent4f6ab07e2d485acc05316c3982670e5a5800caa2 (diff)
downloadbarebox-5f3249f5a1ac75afaf02506b155db63b6dea3bf9.tar.gz
barebox-5f3249f5a1ac75afaf02506b155db63b6dea3bf9.tar.xz
ARM: rpi: add debug_ll support for Raspberry Pi 4
The mini uart (Pins 8/10) is the primary UART on the Raspberry Pi 4 and can be set up in firmware by specifying enable_uart=1 in the config.txt. Add a DEBUG_LL implementation to use this for early debugging. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-20-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index f7a6a96e87..4054bd838d 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1413,6 +1413,13 @@ config DEBUG_RPI3_MINI_UART
Say Y here if you want low-level debugging support on
RaspberryPi 3 board mini UART.
+config DEBUG_RPI4_MINI_UART
+ bool "RaspberryPi 4 mini UART"
+ depends on ARCH_BCM283X
+ help
+ Say Y here if you want low-level debugging support on
+ RaspberryPi 4 board mini UART.
+
config DEBUG_ERIZO
bool "Erizo ns16550 port"
depends on SOC_ERIZO