summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-20 14:53:26 -0600
committerTom Rini <[email protected]>2026-04-03 12:06:18 -0600
commite5e268091e5ead232e2938a152ae0662fefc2ae4 (patch)
treec7d3b42129903733892679af9efb9f878c2212cd
parentd05ef0f258c960c912bfaff2ccad8d7c4c6f35a9 (diff)
bootcount: Give i2c-eeprom a unique identifier
Every U_BOOT_DRIVER entry must be unique and this driver was re-using the name of the bootcount_spi_flash driver. Change to bootcount_i2c_eeprom. Reviewed-by: Michael Trimarchi <[email protected]> Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--drivers/bootcount/i2c-eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bootcount/i2c-eeprom.c b/drivers/bootcount/i2c-eeprom.c
index 12c430465c9..f54515f451e 100644
--- a/drivers/bootcount/i2c-eeprom.c
+++ b/drivers/bootcount/i2c-eeprom.c
@@ -85,7 +85,7 @@ static const struct udevice_id bootcount_i2c_eeprom_ids[] = {
{ }
};
-U_BOOT_DRIVER(bootcount_spi_flash) = {
+U_BOOT_DRIVER(bootcount_i2c_eeprom) = {
.name = "bootcount-i2c-eeprom",
.id = UCLASS_BOOTCOUNT,
.priv_auto = sizeof(struct bootcount_i2c_eeprom_priv),