All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v10] Marvell Kirkwood family SOC support NAND discussion
Date: Tue, 26 May 2009 10:57:12 +0200	[thread overview]
Message-ID: <200905261057.12518.sr@denx.de> (raw)
In-Reply-To: <73173D32E9439E4ABB5151606C3E19E201CF9E6BDC@SC-VEXCH1.marvell.com>

On Tuesday 26 May 2009 10:48:08 Prafulla Wadaskar wrote:
> > I know that NAND support is generally available in U-Boot.
> > But what's currently missing is the platform/board specific
> > driver for Kirkwood. Seems that you included the Kirkwood
> > NAND driver into your Sheevaplug support patch.
> > Good. But this driver should be placed in drivers/mtd/nand so
> > that other Kirkwood boards can use it as well.
>
> Good Feedback...
> The name board_nand_init() is confusing here.... Why the board specific
> code is in drivers/mtd/nand/?

Perhaps somewhat historic reasons....

> Whereas I can see more references in board/*

Yes, this needs more cleanup/moving of those drivers into this common place.

> But looking other code references in this folder your feedback stands valid
> BTW: the arch_nand_init() or device_nand_init() is the right name
> here...Scott need to suggest on this since it involves rework on other
> drivers too.

You should use board_nand_init() for now. We could move to another name in the 
future.

> Meanwhile for my next patch update I will move nand.c from sheevaplug to
> drivers/mtd/nand/kirkwood_nand.c

Great. 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
=====================================================================

  reply	other threads:[~2009-05-26  8:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200905260912.43517.sr@denx.de>
2009-05-26  7:28 ` [U-Boot] [PATCH v10] Marvell Kirkwood family SOC support Prafulla Wadaskar
2009-05-26  7:40   ` Stefan Roese
2009-05-26  7:57     ` Stefan Roese
2009-05-26  8:17       ` Prafulla Wadaskar
2009-05-26  8:25         ` Stefan Roese
2009-05-26  8:48     ` [U-Boot] [PATCH v10] Marvell Kirkwood family SOC support NAND discussion Prafulla Wadaskar
2009-05-26  8:57       ` Stefan Roese [this message]
2009-05-26 21:30       ` Scott Wood
2009-05-26 21:44         ` Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200905261057.12518.sr@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.