[U-Boot-Users] Atmel DataFlash hooks.

Stefan Roese sr at denx.de
Mon Jan 29 11:43:29 CET 2007


Hi Wolfgang,

On Friday 26 January 2007 22:25, Wolfgang Denk wrote:
> > My vote is to treat DataFlash like a block device, and make sure that
> > it supports byte-wide access.
>
> Treat DataFlash like a block device? That sounds wrong to me.

When we treat NAND like a "block device", then we should treat DataFlash like 
it too.

> I understand your concerns about the #ifdef mess, but this suggestion
> does not sound tempting either.

Yes, it will break existing board, that have some predefined environment 
variables to read/write/... the DataFlash. And the users of DataFlash would 
have to adapt to the new syntax.

Best regards,
Stefan




More information about the U-Boot mailing list