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

I can return your question: why does the CFI exist?. Have a look at the u-boot-1.1.2/board/ppm8260/strataflash.c that is an example for a port that "only" uses the cfi_flash.c.
Good luck
Tien -----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of Peter Asemann Sent: Wednesday, January 12, 2005 2:34 PM To: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] .../board/fads/flash.c confuses me - give me a hint
Nghiem, Tien wrote:
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.
Ahh... thanks for the hint. But anyway... the u-boot readme says an own flash.c was a minimum requirement for a port. If the generic driver works, why do people write customs flash.c's at all? All modern flash chips seem to support CFI anyway. Is there an example for a port that "only" uses the cfi_flash.c so I can take a look on it?
Best regards,
Peter Asemann
------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
participants (1)
-
Nghiem, Tien