U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width
Date: Thu, 26 Sep 2013 14:29:42 -0500	[thread overview]
Message-ID: <1380223782.24959.280.camel@snotra.buserror.net> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EA16E87@DBDE04.ent.ti.com>

On Thu, 2013-09-26 at 13:14 +0000, Gupta, Pekon wrote:
> > > From: Gupta, Pekon <pekon@ti.com>
> > >
> > > NAND driver needs to know bus-width of the connected NAND device, in
> > order to perform proper I/O and initialize itself. Currently there is no CONFIG
> > option to provide this information to NAND driver.
> > > - SPL NAND driver does not have framework to parse ONFI parameter
> > page.
> > 
> > Is this about SPL?  It looks like a more general change.
> > 
> Yes, actually I would have loved to see a generic SPL driver for all platforms,

How could that possibly work?

> because SPL is mostly statically configured, and it just does plain NAND read
> (it doesn?t even support NAND write, etc).
> But I do not know the hardware configurations tweaks of other SoC,
> So at-least have common CONFIG_SYS_NAND_xx which all SPL drivers can use.

Again, are you introducing this symbol for use only in SPL?  It looked
like you were removing the code that does dynamic detection, which would
also affect non-SPL.

-Scott

  parent reply	other threads:[~2013-09-26 19:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-25  5:18 [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width Pekon Gupta
2013-09-25 22:08 ` Woodruff, Richard
2013-09-25 22:16   ` Scott Wood
     [not found]     ` <20980858CB6D3A4BAE95CA194937D5E73EA16E87@DBDE04.ent.ti.com>
2013-09-26 19:29       ` Scott Wood [this message]
     [not found]         ` <20980858CB6D3A4BAE95CA194937D5E73EA1726A@DBDE04.ent.ti.com>
2013-09-27 21:08           ` Scott Wood
     [not found]             ` <20980858CB6D3A4BAE95CA194937D5E73EA17A1E@DBDE04.ent.ti.com>
2013-10-01 19:42               ` Scott Wood
2013-10-02 14:49                 ` Gupta, Pekon
     [not found]                 ` <20980858CB6D3A4BAE95CA194937D5E73EA1901F@DBDE04.ent.ti.com>
2013-10-02 22:03                   ` Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2013-09-25  5:23 Pekon Gupta
2013-10-01  8:31 ` Mark Jackson
2013-10-01 10:26   ` Gupta, Pekon
2013-09-26 13:17 Gupta, Pekon
2013-09-26 13:21 ` Gupta, Pekon
2013-09-27  4:22 Gupta, Pekon
2013-09-28  6:27 Gupta, Pekon

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=1380223782.24959.280.camel@snotra.buserror.net \
    --to=scottwood@freescale.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox