hdata/i2c: Fix 512Kb EEPROM size

Message ID 20180112031018.14204-1-oohall@gmail.com
State Accepted
Headers show
Series
  • hdata/i2c: Fix 512Kb EEPROM size
Related show

Commit Message

Oliver Jan. 12, 2018, 3:10 a.m.
There's no such thing as a 412Kb EEPROM.

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

Comments

Stewart Smith Jan. 15, 2018, 6:37 a.m. | #1
Oliver O'Halloran <oohall@gmail.com> writes:
> There's no such thing as a 412Kb EEPROM.
>
> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
> ---
>  hdata/i2c.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Well, that's embarrassing.

Merged to master as of 7c1765a0093d0963faff326049cbfe69f5d82db3

Patch

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" },