Re: ARM defconfig files

From: Catalin Marinas
Date: Tue Jun 08 2010 - 11:30:27 EST

Daniel Walker <dwalker@xxxxxxxxxxxxxx> wrote:
> Have you noticed this ..
> I'm not sure of the goals, but it sounds like it might be relevant.

In some cases you don't want to automatically enable features but rather
fix the Kconfig file. For example, with the select dependencies patch
( on ARMv7 RealView I get the

warning: (CPU_V7 && !ARCH_OMAP2 || CPU_MMP2 && ARCH_MMP) selects
CPU_32v6K which has unmet direct dependencies (CPU_V6)

Unless I misunderstand this, a solver may try to select CPU_V6 which I
don't want to. The solution is to fix Kconfig as below:

Author: Catalin Marinas <catalin.marinas@xxxxxxx>
Date: Wed Aug 12 13:50:05 2009 +0100

Mark CPU_32v6K as depended on CPU_V7

Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>

diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index 9f10a9b..a4909db 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -398,7 +398,7 @@ config CPU_V6
# ARMv6k
config CPU_32v6K
bool "Support ARM V6K processor extensions" if !SMP
- depends on CPU_V6
+ depends on CPU_V6 || CPU_V7
default y if SMP && !(ARCH_MX3 || ARCH_OMAP2)
Say Y here if your ARMv6 processor supports the 'K' extension.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at