aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/i2c_eeprom.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-10-24 09:39:02 -0400
committerTom Rini <trini@konsulko.com>2023-10-24 09:39:02 -0400
commit1b2a3d08c0440db4ee37d748b491673f1db0d384 (patch)
tree26d2e71946365e53a90b0033dd7cdb8b48ec2c85 /drivers/misc/i2c_eeprom.c
parent351da15f71e3d70dbc63e90781b403415452d864 (diff)
parent2f96064d0cf78e21a668ad907d41d63e56f9f7bb (diff)
Merge tag 'u-boot-imx-20231024' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20231024 ------------------- CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/18211 - Fixes for MC2432 Eeprom - i.MX93 ADC - Secondary boot mode on i.MX8M
Diffstat (limited to 'drivers/misc/i2c_eeprom.c')
-rw-r--r--drivers/misc/i2c_eeprom.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c
index bdd7e018cc..e1d0b8f918 100644
--- a/drivers/misc/i2c_eeprom.c
+++ b/drivers/misc/i2c_eeprom.c
@@ -227,6 +227,13 @@ static const struct i2c_eeprom_drv_data atmel24c32_data = {
.offset_len = 2,
};
+static const struct i2c_eeprom_drv_data atmel24c32d_wlp_data = {
+ .size = 32,
+ .pagesize = 32,
+ .addr_offset_mask = 0,
+ .offset_len = 2,
+};
+
static const struct i2c_eeprom_drv_data atmel24c64_data = {
.size = 8192,
.pagesize = 32,
@@ -266,6 +273,7 @@ static const struct udevice_id i2c_eeprom_std_ids[] = {
{ .compatible = "atmel,24c16a", (ulong)&atmel24c16a_data },
{ .compatible = "atmel,24mac402", (ulong)&atmel24mac402_data },
{ .compatible = "atmel,24c32", (ulong)&atmel24c32_data },
+ { .compatible = "atmel,24c32d-wl", (ulong)&atmel24c32d_wlp_data },
{ .compatible = "atmel,24c64", (ulong)&atmel24c64_data },
{ .compatible = "atmel,24c128", (ulong)&atmel24c128_data },
{ .compatible = "atmel,24c256", (ulong)&atmel24c256_data },