[U-Boot] [PATCH 1/2] Kconfig: Add entry for VF610 NAND NFC device tree aware driver

Lukasz Majewski lukma at denx.de
Mon Dec 3 14:36:05 UTC 2018


Hi Stefan,

> On 03.12.2018 10:24, Lukasz Majewski wrote:
> > This commit provides code to add proper entry to Kconfig to enable
> > support for VF610 device tree aware driver.  
> 
> Looks like a start, 

Indeed - this is a start. Vybrid is a bit behind the current u-boot
peace of development.

I'm trying to give it some momentum.

> but ideally we should also move all the
> board/system specific properties to device-tree (e.g.
> CONFIG_SYS_NAND_VF610_NFC_45_ECC_BYTES).

Yes, that would be a long term goal. However, those configs are already
moved to Kconfig, so there is no urgent need to make the conversion
now.

> 
> --
> Stefan
> 
> > 
> > Signed-off-by: Lukasz Majewski <lukma at denx.de>
> > 
> > ---
> > 
> >  drivers/mtd/nand/raw/Kconfig | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/drivers/mtd/nand/raw/Kconfig
> > b/drivers/mtd/nand/raw/Kconfig index 008f7b4b4b..fd1723feda 100644
> > --- a/drivers/mtd/nand/raw/Kconfig
> > +++ b/drivers/mtd/nand/raw/Kconfig
> > @@ -88,6 +88,15 @@ config NAND_VF610_NFC
> >  	  The driver supports a maximum 2k page size. The driver
> >  	  currently does not support hardware ECC.
> >  
> > +if NAND_VF610_NFC
> > +
> > +config NAND_VF610_NFC_DT
> > +        bool "Support Vybrid's vf610 NAND controller as a DT
> > device"
> > +        depends on OF_CONTROL && MTD
> > +        help
> > +          Enable the driver for Vybrid's vf610 NAND flash on
> > platforms
> > +	  using device tree.
> > +
> >  choice
> >  	prompt "Hardware ECC strength"
> >  	depends on NAND_VF610_NFC
> > @@ -103,6 +112,8 @@ config SYS_NAND_VF610_NFC_60_ECC_BYTES
> >  
> >  endchoice
> >  
> > +endif
> > +
> >  config NAND_PXA3XX
> >  	bool "Support for NAND on PXA3xx and Armada 370/XP/38x"
> >  	select SYS_NAND_SELF_INIT  




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181203/e687526e/attachment.sig>


More information about the U-Boot mailing list