[Skiboot] [PATCH] hdata/i2c: Fix 512Kb EEPROM size

Oliver O'Halloran oohall at gmail.com
Fri Jan 12 14:10:18 AEDT 2018


There's no such thing as a 412Kb EEPROM.

Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
 hdata/i2c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hdata/i2c.c b/hdata/i2c.c
index 2070115abaf3..76b7e3900c0a 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" },
-- 
2.9.5



More information about the Skiboot mailing list