SPI Flash

Nicolas Ferre nicolas.ferre at atmel.com
Tue Dec 18 10:39:01 EST 2007


Duke :
> Hi all,
> Has anyone use ST's SPI flash and Atmels SPI DataFlash suscessfully?

Atmel DataFlash are working on Linux with this configuration in your 
.config :
CONFIG_MTD_DATAFLASH=y

> How does the interface look from userspace? Is it still an mtdblockX
> device or is it a spi device node?

It is seen as a mtd device :
# cat /proc/mtd
dev:    size   erasesize  name
[..]
mtd2: 00840000 00000420 "spi0.0-AT45DB642x"

So you can mount is using mtdblockx interface.

Regards,
-- 
Nicolas Ferre



More information about the linux-mtd mailing list