[PATCH] [MTD] m25p80: memory accessor interface for SPI MTD driver
David Brownell
david-b at pacbell.net
Mon Aug 3 21:24:01 EDT 2009
On Monday 03 August 2009, Sudhakar Rajashekhara wrote:
> On TI's da850/omap-l138 EVM, MAC address is stored in SPI flash.
> This patch implements memory accessor interface for SPI MTD
> driver which enables the kernel to access flash data.
If that's going to be possible, shouldn't it work for any
MTD device? And the lack of protection bothers me a bit
more here than with EEPROMs and NVRAM, since it seems kind
of easy to clobber UBI (or JFFS2 etc) data. Maybe there
should be a way to make jus a specific partition available
this way?
> This patch also changes the initialization sequence of the
> drivers by moving mtd and spi ahead of net in drivers/Makefile
> thereby enabling da850/omap-l138 ethernet driver to read the
> MAC address while booting.
Worth a separate patch. That much raises no flags for me.
For the SPI move:
Acked-by: David Brownell <dbrownell at users.sourceforge.net>
- Dave
> Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj at ti.com>
More information about the linux-mtd
mailing list