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] Multiple Flash Devices
Date: Thu, 24 Feb 2005 23:33:40 +0100	[thread overview]
Message-ID: <20050224223345.75BA4C1430@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 23 Feb 2005 10:30:30 EST." <a04f56da050223073036aa7551@mail.gmail.com>

In message <a04f56da050223073036aa7551@mail.gmail.com>
Zachary Landau wrote:
> 
> In that case, did both flash devices use the same driver?  My two

There is always only one flash driver.

> flash devices use different drivers.  So what I am currently doing is
> adding a prefix to the different flash driver functions (ie: change
> CFI's write_buff to cfi_write_buff) and then adding function pointers
> to each flash bank structure indicating which function to use.

Why do you think this is necessary?

> This seems to be a decent approach.  The main problem is that the
> flash calls are a bit scattered, and also it will require all flash
> devices to be changed.  But I'll continue with it unless someone has a

Such a change will never be accepted for the common source tree.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 22 - 24,  Hall 10.0 Booth 310
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Clothes make the man. Naked people have little  or  no  influence  on
society.                                                 - Mark Twain

  reply	other threads:[~2005-02-24 22:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 17:34 [U-Boot-Users] Multiple Flash Devices Zachary Landau
2005-02-23  8:17 ` Shawn Jin
2005-02-23 15:30   ` Zachary Landau
2005-02-24 22:33     ` Wolfgang Denk [this message]
2005-02-24 22:31 ` Wolfgang Denk
2005-02-25  2:20   ` Zachary Landau

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=20050224223345.75BA4C1430@atlas.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