From: Thomas Chou <thomas@wytron.com.tw>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Nios2-dev] [PATCH] cfi flash: add status polling method for amd flash
Date: Wed, 24 Mar 2010 10:54:32 +0800 [thread overview]
Message-ID: <4BA97EE8.3010504@wytron.com.tw> (raw)
In-Reply-To: <4BA89A67.7010305@lumino.de>
On 03/23/2010 06:39 PM, Michael Schnell wrote:
>>> With 16 bit flash configurations I suppose the Avalon bus will do four Word reads instead of a single one
>>>
> Supposedly it will do two Word reads, of course, still resulting in the same problem.
>
Hi Michael,
The write cycle of the avalon bus controller is correct. Just the read
cycle (8 bits or 16 bits) caused problem with toggle status checking.
There is no problem with Intel flash, because the busy checking is
different.
In u-boot, there are nios2 specific flash drivers
(board/altera/common/flash.c and AMDLV065D.c) to handle status polling
for amd flash. But they didn't use the cfi info to detect flash
parameters. You have to define them for each board.
I have tested 8 bits/16 bits amd flash and 16 bits intel flash on four
altera dev boards without problem.
- Thomas
next prev parent reply other threads:[~2010-03-24 2:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 3:24 [U-Boot] [PATCH] cfi flash: add status polling method for amd flash Thomas Chou
2010-03-23 10:12 ` Stefan Roese
2010-03-24 2:37 ` Thomas Chou
2010-03-23 10:39 ` [U-Boot] [Nios2-dev] " Michael Schnell
2010-03-24 2:54 ` Thomas Chou [this message]
2010-03-24 2:29 ` [U-Boot] [PATCH v4] " Thomas Chou
2010-03-25 8:43 ` Stefan Roese
2010-03-25 11:49 ` Wolfgang Denk
2010-03-26 10:34 ` Stefan Roese
2010-03-25 11:49 ` Wolfgang Denk
2010-03-25 14:23 ` Thomas Chou
2010-03-25 14:38 ` [U-Boot] [PATCH v5] " Thomas Chou
2010-03-26 0:17 ` [U-Boot] [PATCH v6] " Thomas Chou
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=4BA97EE8.3010504@wytron.com.tw \
--to=thomas@wytron.com.tw \
--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