[PATCH 1/4] ARM: Xilinx: Adding Xilinx platform infrastructure support

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Feb 5 11:16:10 EST 2011


On Sat, Feb 05, 2011 at 09:08:41AM -0700, John Linn wrote:
> +config ARCH_XILINX
> +	bool "Xilinx ARM Cortex A9 Based FPGA"
> +	select CPU_V7

Ok, so your platform only supports ARMv7, so you select this symbol.

> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> index 9d30c6f..cf0c6f6 100644
> --- a/arch/arm/mm/Kconfig
> +++ b/arch/arm/mm/Kconfig
> @@ -415,7 +415,7 @@ config CPU_32v6K
>  
>  # ARMv7
>  config CPU_V7
> -	bool "Support ARM V7 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX
> +	bool "Support ARM V7 processor" if ARCH_INTEGRATOR || MACH_REALVIEW_EB || MACH_REALVIEW_PBX || ARCH_XILINX

However, this makes the prompt visible to the user, and with the 'select'
above, the only possible answer is 'y'.  You don't need to do this - just
remove this change.  That means "Support ARM V7 processor" won't be offered
to the user, but it will be set in the configuration.



More information about the linux-arm-kernel mailing list