ARM: samsung: move CONFIG_DEBUG_S3C_UART to Kconfig.debug
authorArnd Bergmann <arnd@arndb.de>
Thu, 6 Aug 2020 18:20:30 +0000 (20:20 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 19 Aug 2020 19:10:50 +0000 (21:10 +0200)
Before we can separate plat-samsung from the individual platforms,
this one has to get moved to a place where it remains accessible.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200806182059.2431-13-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/Kconfig.debug
arch/arm/plat-samsung/Kconfig

index 80000a66a4e3549a5e5a5c2bae33037a8fb725f3..7c34cf5c4a5b0c794c899d86dca5ba99b1ddb652 100644 (file)
@@ -1497,6 +1497,16 @@ config DEBUG_S3C64XX_UART
 config DEBUG_S5PV210_UART
        bool
 
+config DEBUG_S3C_UART
+       depends on DEBUG_S3C2410_UART || DEBUG_S3C24XX_UART || \
+                  DEBUG_S3C64XX_UART ||  DEBUG_S5PV210_UART || \
+                  DEBUG_EXYNOS_UART
+       int
+       default "0" if DEBUG_S3C_UART0
+       default "1" if DEBUG_S3C_UART1
+       default "2" if DEBUG_S3C_UART2
+       default "3" if DEBUG_S3C_UART3
+
 config DEBUG_OMAP2PLUS_UART
        bool
        depends on ARCH_OMAP2PLUS
index 3aca01067b3c1857c92b7906123de866a08e348f..c3d18b0aad751ecf8e212fe0fc874716124cdf16 100644 (file)
@@ -290,13 +290,5 @@ config SAMSUNG_WAKEMASK
          and above. This code allows a set of interrupt to wakeup-mask
          mappings. See <plat/wakeup-mask.h>
 
-config DEBUG_S3C_UART
-       depends on PLAT_SAMSUNG
-       int
-       default "0" if DEBUG_S3C_UART0
-       default "1" if DEBUG_S3C_UART1
-       default "2" if DEBUG_S3C_UART2
-       default "3" if DEBUG_S3C_UART3
-
 endmenu
 endif