diff mbox series

[06/36] ARM: samsung: move CONFIG_DEBUG_S3C_UART to Kconfig.debug

Message ID 20191010203043.1241612-6-arnd@arndb.de (mailing list archive)
State Changes Requested
Headers show
Series ARM: samsung platform cleanup | expand

Commit Message

Arnd Bergmann Oct. 10, 2019, 8:29 p.m. UTC
Before we can 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>
---
 arch/arm/Kconfig.debug        | 10 ++++++++++
 arch/arm/plat-samsung/Kconfig |  8 --------
 2 files changed, 10 insertions(+), 8 deletions(-)

Comments

Krzysztof Kozlowski Oct. 23, 2019, 10:12 a.m. UTC | #1
On Thu, Oct 10, 2019 at 10:29:50PM +0200, Arnd Bergmann wrote:
> Before we can plat-samsung from the individual platforms,

"Before we can split"? Or moved? What did you want to say here?

Best regards,
Krzysztof

> this one has to get moved to a place where it remains
> accessible.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>  arch/arm/Kconfig.debug        | 10 ++++++++++
>  arch/arm/plat-samsung/Kconfig |  8 --------
>  2 files changed, 10 insertions(+), 8 deletions(-)
> 
> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
> index 8bcbd0cd739b..d05b836dfeb2 100644
> --- a/arch/arm/Kconfig.debug
> +++ b/arch/arm/Kconfig.debug
> @@ -1464,6 +1464,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
> diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
> index 301e572651c0..832ab0e6cd72 100644
> --- a/arch/arm/plat-samsung/Kconfig
> +++ b/arch/arm/plat-samsung/Kconfig
> @@ -296,13 +296,5 @@ config SAMSUNG_WDT_RESET
>  	  Compile support for system restart by triggering watchdog reset.
>  	  Used on SoCs that do not provide dedicated reset control.
>  
> -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
> -- 
> 2.20.0
>
Arnd Bergmann Oct. 23, 2019, 12:22 p.m. UTC | #2
On Wed, Oct 23, 2019 at 12:13 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On Thu, Oct 10, 2019 at 10:29:50PM +0200, Arnd Bergmann wrote:
> > Before we can plat-samsung from the individual platforms,
>
> "Before we can split"? Or moved? What did you want to say here?

Rephrased now to:

| Before we can separate plat-samsung from the individual platforms,
| this one has to get moved to a place where it remains accessible.

Thanks,

     Arnd
diff mbox series

Patch

diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 8bcbd0cd739b..d05b836dfeb2 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1464,6 +1464,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
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
index 301e572651c0..832ab0e6cd72 100644
--- a/arch/arm/plat-samsung/Kconfig
+++ b/arch/arm/plat-samsung/Kconfig
@@ -296,13 +296,5 @@  config SAMSUNG_WDT_RESET
 	  Compile support for system restart by triggering watchdog reset.
 	  Used on SoCs that do not provide dedicated reset control.
 
-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