[U-Boot-Users] Atmel DataFlash hooks.

Stefan Roese
2007-01-29T10:43:29Z

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