Skip to content

Commit b3a7751

Browse files
arndbkrzk
authored andcommitted
ARM: samsung: move CONFIG_DEBUG_S3C_UART to Kconfig.debug
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>
1 parent dbd6fef commit b3a7751

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎arch/arm/Kconfig.debug‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,6 +1497,16 @@ config DEBUG_S3C64XX_UART
14971497
config DEBUG_S5PV210_UART
14981498
bool
14991499

1500+
config DEBUG_S3C_UART
1501+
depends on DEBUG_S3C2410_UART || DEBUG_S3C24XX_UART || \
1502+
DEBUG_S3C64XX_UART || DEBUG_S5PV210_UART || \
1503+
DEBUG_EXYNOS_UART
1504+
int
1505+
default "0" if DEBUG_S3C_UART0
1506+
default "1" if DEBUG_S3C_UART1
1507+
default "2" if DEBUG_S3C_UART2
1508+
default "3" if DEBUG_S3C_UART3
1509+
15001510
config DEBUG_OMAP2PLUS_UART
15011511
bool
15021512
depends on ARCH_OMAP2PLUS

‎arch/arm/plat-samsung/Kconfig‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -290,13 +290,5 @@ config SAMSUNG_WAKEMASK
290290
and above. This code allows a set of interrupt to wakeup-mask
291291
mappings. See <plat/wakeup-mask.h>
292292

293-
config DEBUG_S3C_UART
294-
depends on PLAT_SAMSUNG
295-
int
296-
default "0" if DEBUG_S3C_UART0
297-
default "1" if DEBUG_S3C_UART1
298-
default "2" if DEBUG_S3C_UART2
299-
default "3" if DEBUG_S3C_UART3
300-
301293
endmenu
302294
endif

0 commit comments

Comments
 (0)