19 Apr, 2012

1 commit

  • 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
    Signed-off-by: Ivo Sieben
    Acked-by: Chris Wright
    Signed-off-by: Greg Kroah-Hartman

    Ivo Sieben
     

03 Apr, 2009

1 commit


13 Feb, 2007

1 commit

  • This is adds a simple SPI EEPROM driver, providing access to the EEPROM
    through sysfs much like the I2C "eeprom" driver ... except this driver
    supports write access, and multiple EEPROM sizes.

    From: "Tuppa, Walter"

    Since I have EEPROMs on SPI with different address sizing, I made some
    changes to your at25.c to support them. Works perfectly. (Also includes a
    small bugfix for the "what size address" test.)

    Signed-off-by: David Brownell
    Signed-off-by: Walter Tuppa
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell