[U-Boot-Users] Atmel DataFlash hooks.

Peter.Pearse
2007-01-26T09:42:54Z

I bottom post

> -----Original Message-----
> From: glikely at gmail.com [mailto:glikely at gmail.com] On Behalf
> Of Grant Likely
> Sent: 26 January 2007 08:45
> To: uboot
> Cc: Peter Pearse; Peter Menzebach
> Subject: Atmel DataFlash hooks.
>
> Issue: CONFIG_HAS_DATAFLASH hooks are invasive
> Background: Atmel DataFlash is a serial FLASH device with an
> SPI interface. There is code in u-boot that pretends that it
> is bus-addressable.
> Possible solutions:
> 1. Move DataFlash support over to the block device
> infrastructure and add commands for direct manipulation of
> block devices. This assumes that it makes sense to look at a
> DataFlash device as just like any other block device.
Grant

My first reaction is.

If it walks like a block device & quacks like a block device
- it's a block device.

However I've forwarded to Hamid (author of dataflash.c)
&& Rick (AT91RM9200DK maintainer) for their opinions.

In the absence of any evidence otherwise, I just assume Atmel wanted to show

how neatly DataFlash can be treated as bus addressable.....

Regards

Peter