public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eugen Hristev <eugen.hristev@microchip.com>
To: <hs@denx.de>, <michael@walle.cc>, <rasmus.villemoes@prevas.dk>,
	<u-boot@lists.denx.de>
Cc: <claudiu.beznea@microchip.com>,
	Eugen Hristev <eugen.hristev@microchip.com>
Subject: [PATCH 2/3] misc: i2c_eeprom: remove 24aa02e48
Date: Thu, 26 May 2022 17:04:55 +0300	[thread overview]
Message-ID: <20220526140456.53776-2-eugen.hristev@microchip.com> (raw)
In-Reply-To: <20220526140456.53776-1-eugen.hristev@microchip.com>

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>
---
 drivers/misc/i2c_eeprom.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c
index 89a450d0f8..05bc803d8b 100644
--- a/drivers/misc/i2c_eeprom.c
+++ b/drivers/misc/i2c_eeprom.c
@@ -169,13 +169,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,
@@ -263,7 +256,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 },
-- 
2.25.1


  reply	other threads:[~2022-05-26 14:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 14:04 [PATCH 1/3] ARM: dts: at91: replace microchip, 24aa02e48 with atmel, at24c02 Eugen Hristev
2022-05-26 14:04 ` Eugen Hristev [this message]
2022-05-26 14:11   ` [PATCH 2/3] misc: i2c_eeprom: remove 24aa02e48 Michael Walle
2022-05-31  4:44   ` Heiko Schocher
2022-05-26 14:04 ` [PATCH 3/3] ARM: dts: at91: sam9x60ek: fix eeprom compatible Eugen Hristev
2022-05-31  4:45   ` Heiko Schocher
2022-05-26 14:11 ` [PATCH 1/3] ARM: dts: at91: replace microchip,24aa02e48 with atmel,at24c02 Michael Walle
2022-05-26 14:18   ` Eugen.Hristev
2022-05-31  4:43     ` Heiko Schocher
2022-06-22 13:02       ` Eugen.Hristev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220526140456.53776-2-eugen.hristev@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=claudiu.beznea@microchip.com \
    --cc=hs@denx.de \
    --cc=michael@walle.cc \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox