]> git.baikalelectronics.ru Git - kernel.git/commit
spi: at25 driver is for EEPROM not FLASH
authorDavid Brownell <david-b@pacbell.net>
Wed, 5 Dec 2007 07:45:10 +0000 (23:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 5 Dec 2007 17:21:18 +0000 (09:21 -0800)
commit8fb4f485597dd03bdd61d54a9b145c94c2e8f1a8
tree9dd400b97efa5260c31044efd5687a4d91c04bb7
parent96259cb905fcbd3d61501c965dc5881684ebc016
spi: at25 driver is for EEPROM not FLASH

Add comment to at25 driver that it's for EEPROM chips, not FLASH
chips ... the AT25 series has both types of chip, and sometimes
they're even pin-compatible.  The command sets are different, as
is the treatment of erasure.  (FLASH needs explicit erasure, but
with EEPROM it's implicit.)  Note that all vendors seem to have
this same confusion in their *25* series SPI memory parts.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/at25.c