diff mbox

[v2,07/12] ARM: imx: depend MXC debug board on 3DS machines

Message ID 1419895935-22966-8-git-send-email-stefan@agner.ch
State New
Headers show

Commit Message

Stefan Agner Dec. 29, 2014, 11:32 p.m. UTC
Depend the MXC debug board on machines which actually support it.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
This configuration appeared lonely when I enabled ARCH_MULTI_V7M.
Afaik, the selection of it only makes sense with one of the supported
boards...

 arch/arm/mach-imx/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Sergei Shtylyov Dec. 30, 2014, 10:42 a.m. UTC | #1
Hello.

On 12/30/2014 2:32 AM, Stefan Agner wrote:

> Depend the MXC debug board on machines which actually support it.

> Signed-off-by: Stefan Agner <stefan@agner.ch>
> ---
> This configuration appeared lonely when I enabled ARCH_MULTI_V7M.
> Afaik, the selection of it only makes sense with one of the supported
> boards...

>   arch/arm/mach-imx/Kconfig | 1 +
>   1 file changed, 1 insertion(+)

> diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
> index 3c5859e..96c8eb8 100644
> --- a/arch/arm/mach-imx/Kconfig
> +++ b/arch/arm/mach-imx/Kconfig
> @@ -21,6 +21,7 @@ config MXC_AVIC
>
>   config MXC_DEBUG_BOARD
>   	bool "Enable MXC debug board(for 3-stack)"
> +	depends on CONFIG_MACH_MX27_3DS || CONFIG_MACH_MX31_3DS || CONFIG_MACH_MX35_3DS

    CONFIG_ prefixes are not needed in Kconfig.

[...]

WBR, Sergei
diff mbox

Patch

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 3c5859e..96c8eb8 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -21,6 +21,7 @@  config MXC_AVIC
 
 config MXC_DEBUG_BOARD
 	bool "Enable MXC debug board(for 3-stack)"
+	depends on CONFIG_MACH_MX27_3DS || CONFIG_MACH_MX31_3DS || CONFIG_MACH_MX35_3DS
 	help
 	  The debug board is an integral part of the MXC 3-stack(PDK)
 	  platforms, it can be attached or removed from the peripheral