aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorIvo Sieben <[email protected]>2012-04-18 08:29:34 +0200
committerGreg Kroah-Hartman <[email protected]>2012-04-18 14:57:57 -0700
commitb4161f0bb5f815ca6d8108062b8e3b650c18fe39 (patch)
treed2a6fc73e380a351f9f2224c8443522f2d4ef9fc /lib/mpi/mpi-add.c
parent985087dbcb0265f46e8651fdc7e974f8a7184423 (diff)
Support M95040 SPI EEPROM
Updated the generic SPI EEPROM driver AT25 for support of an additional address bit in the instruction byte. Certain EEPROMS have a size that is larger than the number of address bytes would allow (e.g. like M95040 from ST that has 512 Byte size but uses only one address byte (A0 to A7) for addressing.) For the extra address bit (A8, A16 or A24) bit 3 of the instruction byte is used. This instruction bit is normally defined as don't care for other AT25 like chips. Reviewed-by: Wolfram Sang <[email protected]> Signed-off-by: Ivo Sieben <[email protected]> Acked-by: Chris Wright <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions