From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] TQM834x CFI flash question: Support for 1 or 2 flash banks?
Date: Mon, 30 Aug 2010 13:04:09 +0200 [thread overview]
Message-ID: <201008301304.09934.sr@denx.de> (raw)
Hi Marian,
I'm in the process of cleaning up some of the CFI driver
defines/implementation hacks, such as CONFIG_SYS_MAX_FLASH_BANKS_DETECT. While
doing this I noticed that the TQM834x port uses this define and sets it to 2
(via the tqm834x_num_flash_banks variable) if a 2nd chip is detected. But I
fail to see how this could really work, since the board port doesn't provide a
2nd base address via the an entry in the CONFIG_SYS_FLASH_BANKS_LIST define,
where the probing of the 2nd bank should be done in the common CFI driver.
I know that the board port was done quite some time ago, but perhaps you do
remember some details. Has this ever been tested with 2 banks on this board?
If yes, how? Could be that I'm missing something. Please enlighten me. :)
Thanks.
Cheers,
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:[~2010-08-30 11:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201008301304.09934.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).