summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-05-06 12:46:34 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-02 08:54:02 +0200
commit23c7cba0a423dd7cb349ad7e6500fd9e75197d10 (patch)
tree14f13f76abc42c21361a3f7000c8a5243a87c7c7 /common
parent7689055a8b037363dae840eee33a0ed43f905b7a (diff)
downloadbarebox-23c7cba0a423dd7cb349ad7e6500fd9e75197d10.tar.gz
barebox-23c7cba0a423dd7cb349ad7e6500fd9e75197d10.tar.xz
ARM: rockchip: Allow to build for multiple SoCs
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig18
1 files changed, 13 insertions, 5 deletions
diff --git a/common/Kconfig b/common/Kconfig
index db7cc6713a..a823e7038e 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -1322,12 +1322,19 @@ config DEBUG_AM33XX_UART
Say Y here if you want kernel low-level debugging support
on AM33XX.
-config DEBUG_ROCKCHIP_UART
- bool "RK3xxx Debug UART"
- depends on ARCH_ROCKCHIP
+config DEBUG_ROCKCHIP_RK3188_UART
+ bool "RK3188 Debug UART"
+ depends on ARCH_RK3188
+ help
+ Say Y here if you want kernel low-level debugging support
+ on RK3188.
+
+config DEBUG_ROCKCHIP_RK3288_UART
+ bool "RK3288 Debug UART"
+ depends on ARCH_RK3288
help
Say Y here if you want kernel low-level debugging support
- on RK3XXX.
+ on RK3288.
config DEBUG_SOCFPGA_UART0
bool "Use SOCFPGA UART0 for low-level debug"
@@ -1414,7 +1421,8 @@ config DEBUG_OMAP_UART_PORT
AM33XX: 0 - 2
config DEBUG_ROCKCHIP_UART_PORT
- int "RK3xxx UART debug port" if DEBUG_ROCKCHIP_UART
+ int "RK3xxx UART debug port" if DEBUG_ROCKCHIP_RK3188_UART || \
+ DEBUG_ROCKCHIP_RK3288_UART
default 2
depends on ARCH_ROCKCHIP
help