public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Charles Manning <manningc2@actrix.gen.nz>
To: Alice Hennessy <ahennessy@mvista.com>, linux-mtd@lists.infradead.org
Subject: Re: Different nand interface
Date: Sat, 25 Oct 2003 20:29:25 +1300	[thread overview]
Message-ID: <20031025072323.378625DF3@blood.actrix.co.nz> (raw)
In-Reply-To: <3F984931.E6409ED7@mvista.com>

On Friday 24 October 2003 10:33, Alice Hennessy wrote:
> Hi,
>
> I need some advice on how to support a board that has a hardware state
> machine
> that creates a parallel bus style interface to the NAND chip.  It is
> totally
> different from the standard 8 IO signal controls.   It can do write_byte
> and read_byte
> put requires the offset into the flash as a parameter.    nand.c is
> fairly modular, allowing
> several functions to be coded in the hardware file but there is no
> current method of
> passing an offset into, say, read_byte and write_byte unless the
> nand_chip priv field
> can be used (via mtd->priv).   Do you think the standard nand.c can be
> used in this
> case or should I create a specific one for this board?
>
> Any advice would be appreciated.

I would expect the existing nand.c can be used though you might have to do 
some clever stuff to hide your flash behind it.

This is definitely the prefered way to get going in the beginning because it 
will help comparmentalise things that inevitably go wrong when bringing up 
new hardware.

Once your system is up and running you might find that you want to replace 
nand.c for efficiency reasons or whatever, but quite likely this won't be 
required (and at least you'll have a way better understanding of where you 
need to go).

G'luck

-- CHarles

      parent reply	other threads:[~2003-10-25  7:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23 21:33 Different nand interface Alice Hennessy
2003-10-24  1:36 ` Joshua Wise
2003-10-24  7:39   ` David Woodhouse
2003-10-24  7:41 ` David Woodhouse
2003-10-27 18:25   ` Alice Hennessy
2003-10-27 20:00     ` David Woodhouse
2003-10-27 20:43       ` Alice Hennessy
2003-10-27 20:55         ` David Woodhouse
2003-10-27 21:17           ` Alice Hennessy
2003-10-27 22:29             ` David Woodhouse
2003-11-12  0:49               ` Alice Hennessy
2003-11-18 22:26                 ` Alice Hennessy
2003-10-25  7:29 ` Charles Manning [this message]

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=20031025072323.378625DF3@blood.actrix.co.nz \
    --to=manningc2@actrix.gen.nz \
    --cc=ahennessy@mvista.com \
    --cc=linux-mtd@lists.infradead.org \
    /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