lenovo: Handle EEPROM/RFID chip.
commit62adc4c6101749d59bdcc36135556fc2d2482131
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 23 Jan 2014 08:06:08 +0000 (23 09:06 +0100)
committerRudolf Marek <r.marek@assembler.cz>
Sat, 1 Feb 2014 17:48:16 +0000 (1 18:48 +0100)
tree2ae29f5a16f5fd1fa08c133fa588b0401770c9fd
parent5f20dbfbe38c6a7797b578f46006299a73d1bd90
lenovo: Handle EEPROM/RFID chip.

EEPROM/RFID chip present in thinkpad should be locked in a way to avoid
any potential RFID access.

Read serial number, UUID and P/N from EEPROM.

This info is stored on AT24RF08 chip acessible through SMBUS.

Change-Id: Ia3e766d90a094f63c8c854cd37e165221ccd8acd
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4774
Tested-by: build bot (Jenkins)
Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
src/drivers/i2c/Makefile.inc
src/drivers/i2c/at24rf08c/Makefile.inc [new file with mode: 0644]
src/drivers/i2c/at24rf08c/at24rf08c.c [new file with mode: 0644]
src/drivers/i2c/at24rf08c/lenovo_serials.c [new file with mode: 0644]
src/mainboard/lenovo/t60/devicetree.cb
src/mainboard/lenovo/x201/devicetree.cb
src/mainboard/lenovo/x230/devicetree.cb
src/mainboard/lenovo/x60/devicetree.cb