Subject: Re: [PATCH 2/4] [POWERPC] Xilinx: Virtex: Enable dcr for MMIO and NATIVE

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 06 May 2008 10:11:48 +1000

On Mon, 2008-05-05 at 10:56 -0700, Stephen Neuendorffer wrote:
> FPGA designs may have need of both MMIO-based and NATIVE-based dcr
> interfaces.

You say _may_ ... wouldn't it be better if it was thus left to a given
virtex based platform to enable DCR_MMIO if it uses it and leave only
NATIVE by default ?

> Signed-off-by: Stephen Neuendorffer <[email-masked]>
> ---
>  arch/powerpc/platforms/40x/Kconfig |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig
> index a9260e2..b8e06df 100644
> --- a/arch/powerpc/platforms/40x/Kconfig
> +++ b/arch/powerpc/platforms/40x/Kconfig
> @@ -123,6 +123,8 @@ config 405GPR
>  
>  config XILINX_VIRTEX
>  	bool
> +	select PPC_DCR_MMIO
> +	select PPC_DCR_NATIVE
>  
>  config XILINX_VIRTEX_II_PRO
>  	bool