From: Marcus Mikolaiczyk <m.mikolaiczyk@rac.de>
To: m.mikolaiczyk@rac.de
Cc: linux-mtd@lists.infradead.org
Subject: Re: NAND connected with address lines based example
Date: Thu, 31 Mar 2005 11:58:30 +0200 [thread overview]
Message-ID: <424BC9C6.80800@rac.de> (raw)
In-Reply-To: <424BC76A.7070808@setabox.com>
Thanks to all
I'll thought of Williams idea too but was not sure, and try to implement
it asap (next few hours) and give a feedback.
>
> You can write your hardware control function like this:
>
> switch(cmd) {
> case NAND_CTL_SETCLE: this->IO_ADDR_W = io_base_addr+1; break;
> case NAND_CTL_CLRCLE: this->IO_ADDR_W = io_base_addr; break;
> case NAND_CTL_SETALE: this->IO_ADDR_W = io_base_addr+2; break;
> case NAND_CTL_CLRALE: this->IO_ADDR_W = io_base_addr; break;
> }
>
> Where io_base_addr = A8000000, your base address.
>
> Hope this helps.
Thanks so far.
Marcus
next prev parent reply other threads:[~2005-03-31 9:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-31 9:07 NAND connected with address lines based example Marcus Mikolaiczyk
2005-03-31 9:48 ` William J Beksi
2005-03-31 9:58 ` Marcus Mikolaiczyk [this message]
2005-03-31 9:54 ` Pathompong Puengrostham
2005-03-31 10:53 ` Thomas Gleixner
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=424BC9C6.80800@rac.de \
--to=m.mikolaiczyk@rac.de \
--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 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.