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

Nghiem, Tien
2005-01-12T18:16:01Z

Hi,

You can you use the CFI driver in /u-boot-1.1.1/drivers/cfi_flash.c. it's generic and working. I have used it with these boards: IceCube(MPC5200) and EP8260 without modification.

Tien

-----Original Message-----
From: u-boot-users-admin@lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Wolfgang
Denk
Sent: Wednesday, January 12, 2005 11:55 AM
To: Peter Asemann
Cc: u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] .../board/fads/flash.c confuses me - give me
a hint

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.

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net