public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] latest u-boot (1.3.2-rc2) and dataflash vs CFG_NO_FLASH
Date: Sun, 02 Mar 2008 22:07:31 +0100	[thread overview]
Message-ID: <20080302210731.1B00324CFB@gemini.denx.de> (raw)
In-Reply-To: Your message of "Thu, 28 Feb 2008 17:30:52 EST." <4697729899C81C4388059CC380C71745011BABED@xchg-lma-01.Avidyne.com>

Dear Matt,

in message <4697729899C81C4388059CC380C71745011BABED@xchg-lma-01.Avidyne.com> you wrote:
> 
> If I try to copy from Ram to dataflash, u-boot says "Copy to Flash..."
> and the CPU pukes; it's detecting what it thinks is flash.
> 
> If I #define CFG_NO_FLASH, other stuff breaks.  If I fix that by
> changing include/flash.h to remove the #ifndef CFG_NO_FLASH, then
> everything compiles, but on the link, all of the flash stuff that I DO
> need (flash_info, flash_erase, etc) isn't defined because of
> CFG_NO_FLASH.

The current dataflash implementation really needs to be cleaned up.

> Has this been fixed ANYWHERE in someone's branch?
> 
> Wolfgang, I know you don't really care much about non-memory flash
> "devices" but is there some vision as to where all this is supposed to
> go?

It's not exactly correct that I don't care. The situation is that  we
have no such hardware in our lab. That means I cannot even test it.

The "vision" is to add  some  proper  device  interface  (similar  to
and/or  unified  with  NAND, for example). But AFAIK no such work has
been started yet.

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: wd at denx.de
Minds are like parachutes - they only function when open.

      parent reply	other threads:[~2008-03-02 21:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 22:30 [U-Boot-Users] latest u-boot (1.3.2-rc2) and dataflash vs CFG_NO_FLASH Matt Gessner
2008-02-29  5:54 ` Kim B. Heino
2008-02-29 11:19   ` Wolfgang Denk
2008-03-03  8:39     ` [U-Boot-Users] [PATCH] fix copy from ram to dataflash Kim B. Heino
2008-03-03 20:48       ` Wolfgang Denk
2008-02-29 13:46   ` [U-Boot-Users] latest u-boot (1.3.2-rc2) and dataflash vs CFG_NO_FLASH Matt Gessner
2008-03-02 21:07 ` Wolfgang Denk [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=20080302210731.1B00324CFB@gemini.denx.de \
    --to=wd@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