aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov@codethink.co.uk>2024-02-23 17:14:20 +0000
committerTom Rini <trini@konsulko.com>2024-03-04 10:25:47 -0500
commit407184cd636d5ef7a5b118e6df6f06d86432e1eb (patch)
tree14027ef16ab53ffca4460063348d5576f7508f1f /cmd
parentff3bcb17f43631e5637a67df56aec6e8b8733ec4 (diff)
downloadu-boot-407184cd636d5ef7a5b118e6df6f06d86432e1eb.tar.gz
cmd: eeprom: Fix config dependency
We should have CONFIG_DM_I2C or CONFIG_SYS_I2C_LEGACY enabled in order for `cmd/eeprom.c` to compile as it depends on the i2c functions which are not compiled otherwise. Update the Kconfig entry for the 'eeprom' command correspondingly. Signed-off-by: Ivan Orlov <ivan.orlov@codethink.co.uk> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 438c6d1c48..3d204edfa3 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -740,6 +740,7 @@ config CRC32_VERIFY
config CMD_EEPROM
bool "eeprom - EEPROM subsystem"
+ depends on DM_I2C || SYS_I2C_LEGACY
help
(deprecated, needs conversion to driver model)
Provides commands to read and write EEPROM (Electrically Erasable