misc: i2c_eeprom: remove 24aa02e48
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 26 May 2022 14:04:55 +0000 (17:04 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 28 Jun 2022 07:09:45 +0000 (10:09 +0300)
This compatible does not exist in the bindings.
All occurences in DT have been replaced by at24c02 which is equivalent.

Fixes: 7264066707 ("misc: i2c_eeprom: Add compatible for 24AA02E48")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/misc/i2c_eeprom.c

index 4302e18..bdd7e01 100644 (file)
@@ -170,13 +170,6 @@ static const struct i2c_eeprom_drv_data eeprom_data = {
        .offset_len = 1,
 };
 
-static const struct i2c_eeprom_drv_data mc24aa02e48_data = {
-       .size = 256,
-       .pagesize = 8,
-       .addr_offset_mask = 0,
-       .offset_len = 1,
-};
-
 static const struct i2c_eeprom_drv_data atmel24c01a_data = {
        .size = 128,
        .pagesize = 8,
@@ -264,7 +257,6 @@ static const struct i2c_eeprom_drv_data atmel24c512_data = {
 
 static const struct udevice_id i2c_eeprom_std_ids[] = {
        { .compatible = "i2c-eeprom", (ulong)&eeprom_data },
-       { .compatible = "microchip,24aa02e48", (ulong)&mc24aa02e48_data },
        { .compatible = "atmel,24c01", (ulong)&atmel24c01a_data },
        { .compatible = "atmel,24c01a", (ulong)&atmel24c01a_data },
        { .compatible = "atmel,24c02", (ulong)&atmel24c02_data },