[U-Boot-Users] Multiple Flash Devices
Wolfgang Denk
wd at denx.de
Thu Feb 24 23:33:40 CET 2005
In message <a04f56da050223073036aa7551 at 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
More information about the U-Boot
mailing list