[U-Boot-Users] .../board/fads/flash.c confuses me - give me a hint

Wolfgang Denk
2005-01-12T16:54:44Z

In message <41E537A8.8050006@web.de> you wrote:
> Im writing my own flash.c for "my" custom board in the moment.
> That's why I'm trying to understand what the flash.c does.
> I thought I got it when I encountered the following problem examining
> board/fads/flash.c

There must ne some strange fascination about the FADS port. I really
wonder why everybody is picking one of the most complicated and
poroblematic ports...

Pleas ehave a loot at least at some other drivers, too.

> All functions in there seem to be written to handle 4x8bit flash banks.

SO look for other flash drivers, or maybe even for the generic CFI
driver.

> I'd be very happy if someone could give me a hint what I missed or what
> I got wrong or why it must be that way though.

Forget what the FADS is doing. Think about what is needed for your
own hardware, and implement this.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The high cost of living hasn't affected its popularity.