Re: [PATCH v6 4/6] ARM: vf610: enable NAND Flash Controller

Bill Pringlemeir
2015-07-08T14:32:54Z

On 8 Jul 2015, shawnguo@kernel.org wrote:
> On Fri, Jun 19, 2015 at 12:58:37AM +0200, Stefan Agner wrote:
>> Enable the NAND Flash Controller driver which is part of the Vybrid
>> SoC by default.
>>
>> Signed-off-by: Stefan Agner <stefan@agner.ch>
>> ---
>> 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 3a3d3e9..9358135 100644
>> --- a/arch/arm/mach-imx/Kconfig
>> +++ b/arch/arm/mach-imx/Kconfig
>>>> -589,6 +589,7 @@ config SOC_VF610
>> select PINCTRL_VF610
>> select PL310_ERRATA_769419 if CACHE_L2X0
>> select SMP_ON_UP if SMP
>> + select HAVE_NAND_VF610_NFC

> I'm not sure about the benefit of having this option, except we have
> to have this additional architecture patch.

For other SOC, like the PowerPC or ColdFire CPUs with this controller,
it was a way to mark the controller as populated. Otherwise, the
Kconfig entry to select the controller will pop up for everybody.

Is there a better way to do this?

>>
>> help
>> This enables support for Freescale Vybrid VF610 processor.