public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Justin Clacherty <justin@redfish-group.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Flash configuration
Date: Thu, 24 Aug 2006 20:18:57 +1000	[thread overview]
Message-ID: <44ED7D11.9050208@redfish-group.com> (raw)
In-Reply-To: <20060824100158.6068A353A63@atlas.denx.de>

Wolfgang Denk wrote:
> Why do you say there are 4 banks when there aren't?
I must admit to being a little confused about the terminology.  I had 
thought that banks were the number of devices but wasn't sure how that 
worked given that two devices would be in the same address range.  I 
take it that "banks" refer to the address range that the devices use and 
the CFI code takes care of how many devices are in a bank.  So in my 
case there are two banks made up of two devices.  The extra two I see 
are because I've told u-boot there are four and it just retries at 
address 0x00000000.  Would this be correct?

So my config should be:

#define CFG_FLASH_BASE_1 PHYS_FLASH_1
#define CFG_FLASH_BASE_2 PHYS_FLASH_2
#define CFG_FLASH_BANKS_LIST { CFG_FLASH_BASE_1, CFG_FLASH_BASE_2 }

#define CFG_MAX_FLASH_BANKS 2

Regards,
Justin.

  reply	other threads:[~2006-08-24 10:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-24  9:49 [U-Boot-Users] Flash configuration Justin Clacherty
2006-08-24 10:01 ` Wolfgang Denk
2006-08-24 10:18   ` Justin Clacherty [this message]
2006-08-24 10:30     ` Wolfgang Denk
2006-08-24 11:26       ` Justin Clacherty
2006-08-24 12:13         ` Wolfgang Denk
2006-08-24 12:24           ` [U-Boot-Users] about the function "pci_write_config_dwor d" Denny
2006-08-24 15:18             ` Wolfgang Denk
2006-08-24 12:31           ` [U-Boot-Users] Flash configuration Jerry Van Baren
2006-08-25 14:13           ` Justin Clacherty
  -- strict thread matches above, loose matches on Subject: below --
2005-10-13 15:27 Jose França (Ext_GTBC)
2005-10-13 15:43 ` Alex Zeffertt
2005-10-13 15:53 ` Wolfgang Denk

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=44ED7D11.9050208@redfish-group.com \
    --to=justin@redfish-group.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