public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] "stacked" memory mapped flash assisted with GPIOs
Date: Mon, 21 Jan 2008 23:20:44 +0100	[thread overview]
Message-ID: <20080121232044.7fb866c4@sheeana.local> (raw)
In-Reply-To: <200801210801.49358.vapier@gentoo.org>

On Mon, 21 Jan 2008 08:01:48 -0500 Mike Frysinger <vapier@gentoo.org> wrote:
> that would allow board porters to select an arbitrary address and say "if you 
> wish to erase/write the flash in a contiguous manner, you need to use the 
> base address 0x........ rather than the real base address 0x........".  

Hmm...yeah. Fake physical addresses...perhaps not exactly pretty, but
it will do the trick as long as nothing is actually accessible from the
"fake" addresses.

On the other hand, the extra GPIO-controlled lines really _do_ form a
part of the physical address, at least as far as the flash is
concerned.

> however, from what i can see, this would only account for erase/writes.  
> reads are done directly by u-boot using physical addresses, so those have no 
> provision for catching accesses.

True. Maybe the code reading the flash really _should_ use the
map_physmem() interface, though...doing cached reads from the flash
might very well cause trouble later, when writing commands to it...

Haavard

      reply	other threads:[~2008-01-21 22:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-20 10:56 [U-Boot-Users] "stacked" memory mapped flash assisted with GPIOs Mike Frysinger
2008-01-20 11:26 ` Michael Schwingen
2008-01-20 20:04   ` Mike Frysinger
2008-01-20 21:28     ` Michael Schwingen
2008-01-21  5:57       ` Mike Frysinger
2008-01-21 12:00 ` Haavard Skinnemoen
2008-01-21 13:01   ` Mike Frysinger
2008-01-21 22:20     ` Haavard Skinnemoen [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=20080121232044.7fb866c4@sheeana.local \
    --to=hskinnemoen@atmel.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