Dear Mike Frysinger,

In message <[email protected]> you wrote:
> From: Harald Krapfenbauer <[email protected]>
> 
> The current flash framework generally assumes that the flash in question
> is completely directly addressable.  With the new weak accessor functions,
> that is no longer always the case.  These allow us to hook up flashes
> whose pins are only partially directly addressable while the rest are
> connected to GPIOs.  Since all the erase/write commands go through the

Either you or me misunderstand the purpose of these weak accessor
functions.

> weak accessor functions, those work transparently.  But for reading from
> the flash, the common memory function is still used and this does not go
> through the weak accessor functions.  So we need a dedicated command to
> make sure the weak accessor functions are used to do the actual reading.

Nope. This ain't working.

Either we have flash memory; then it is a mandatory requirent that we
can access the flash memory  using  all  memory  accessing  commands,
including  "cp",  "md"  etc. This is not the case on any devices that
require additional address switching, like  on  processors  that  use
things  like bank switching signals in addition to the normal address
lines.

Otherwise we have some form of storage device, which cannot be
accessed with commands like "cp", "md", or "erase".


NAK.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
"A dirty mind is a joy forever."                       - Randy Kunkee
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to