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

Jon Loeliger jdl at freescale.com
Wed Jan 12 22:06:16 CET 2005


On Wed, 2005-01-12 at 13:34, Peter Asemann wrote:
> 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

Peter,

The MPC85xx ADS and CDS boards are all currently using
the CFI driver.  They were originally coded using a
part-specific flash.c, but they have since been converted
to the generic CFI driver.

Thanks,
jdl






More information about the U-Boot mailing list