[U-Boot] [PATCH 2/2] KB9202: Add NAND support

Stefan Roese sr at denx.de
Thu Jun 4 20:08:04 CEST 2009


On Thursday 04 June 2009 19:49:25 Matthias Kaehlcke wrote:
> > > This is a forward port of the patch submitted by Christian from
> > > Kwikbyte in 06/2007
> > > (http://lists.denx.de/pipermail/u-boot/2007-June/022068.html)
> > >
> > > Signed-off-by: Matthias Kaehlcke <matthias at kaehlcke.net>
> > > ---
> > >  board/kb9202/Makefile    |    2 +-
> > >  board/kb9202/nand.c      |  153
> > > ++++++++++++++++++++++++++++++++++++++++++++++ include/configs/kb9202.h
> > > | 10 +++-
> > >  3 files changed, 163 insertions(+), 2 deletions(-)
> > >  create mode 100644 board/kb9202/nand.c
> >
> > I suggest to move this driver to drivers/mtd/nand instead.
>
> i thought drivers/mtd/nand is for generic nand drivers,

No, it's for all NAND driver using the common NAND MTD infrastructure. Same as 
in Linux.

> mine - at least
> atm - is kb9202 specific. if it's really preferred to have board
> specific drivers in drivers/mtd/nand i'll the adapt the patch happily.

Yes, please move it. It's better to collect all NAND related drivers in one 
place.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list