Subject: Re: [PATCH] powerpc: make Freescale QE support a selectable Kconfig option

From: Anton Vorontsov <[email-masked]>
Date: Fri, 3 Oct 2008 11:04:16 +0400

On Thu, Oct 02, 2008 at 10:27:57AM -0500, Timur Tabi wrote:
> Modify the Kconfig so that Freescale QUICC Engine (QE) support is a selectable
> option, thereby allowing users to compile kernels without any QE support.
> 
> The drawback is that QE support is now disabled by default on platforms that
> have a QE, and so a defconfig is needed to enable QE and QE devices (like
> UCC GETH).  Fortunately, all the current relevant defconfigs do that already.
> 
> Signed-off-by: Timur Tabi <[email-masked]>
> ---

[...]
>  config MPC836x_RDK
>  	bool "Freescale/Logic MPC836x RDK"
>  	select DEFAULT_UIMAGE
> -	select QUICC_ENGINE
>  	select QE_GPIO

IIRC selects do not honor any dependencies, i.e. you should delete
the QE_GPIO too.

>  	select FSL_GTM
>  	select FSL_LBC
> diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
> index 9578c45..6cf517f 100644
> --- a/arch/powerpc/platforms/Kconfig
> +++ b/arch/powerpc/platforms/Kconfig
> @@ -239,7 +239,8 @@ config TAU_AVERAGE
>  	  If in doubt, say N here.
>  
>  config QUICC_ENGINE
> -	bool
> +	bool "Freescale QUICC Engine (QE) Support"
> +	depends on FSL_SOC
>  	select PPC_LIB_RHEAP
>  	select CRC32
>  	help
> -- 
> 1.5.5

-- 
Anton Vorontsov
email: [email-masked]
irc://irc.freenode.net/bd2