aboutsummaryrefslogtreecommitdiff
path: root/hdata/i2c.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2018-01-12 14:10:18 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-01-14 22:38:55 -0600
commit7c1765a0093d0963faff326049cbfe69f5d82db3 (patch)
treeae0d9321226fd0b55fa76be4995b3c3a14d5ea8e /hdata/i2c.c
parent80838c3158a8e00fef9f177dd2ee4f96c7df413e (diff)
downloadskiboot-7c1765a0093d0963faff326049cbfe69f5d82db3.zip
skiboot-7c1765a0093d0963faff326049cbfe69f5d82db3.tar.gz
skiboot-7c1765a0093d0963faff326049cbfe69f5d82db3.tar.bz2
hdata/i2c: Fix 512Kb EEPROM size
There's no such thing as a 412Kb EEPROM. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/i2c.c')
-rw-r--r--hdata/i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/i2c.c b/hdata/i2c.c
index 2070115..76b7e39 100644
--- a/hdata/i2c.c
+++ b/hdata/i2c.c
@@ -105,7 +105,7 @@ static struct hdat_i2c_type hdat_i2c_devs[] = {
{ 0xb, "eeprom", "atmel,24c256" },
{ 0xc, "i2c", NULL }, /* Thermal Sensor */
{ 0xd, "eeprom", "atmel,24c04" },
- { 0xe, "eeprom", "atmel,24c412" },
+ { 0xe, "eeprom", "atmel,24c512" },
{ 0xf, "eeprom", "atmel,24c32" },
{ 0x10, "eeprom", "atmel,24c64" },
{ 0x11, "eeprom", "atmel,24c16" },