From e5e268091e5ead232e2938a152ae0662fefc2ae4 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 20 Mar 2026 14:53:26 -0600 Subject: [PATCH] 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 Signed-off-by: Tom Rini --- drivers/bootcount/i2c-eeprom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),