]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: eeprom: Fix config dependency
authorIvan Orlov <ivan.orlov@codethink.co.uk>
Fri, 23 Feb 2024 17:14:20 +0000 (17:14 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 4 Mar 2024 15:25:47 +0000 (10:25 -0500)
commit407184cd636d5ef7a5b118e6df6f06d86432e1eb
tree14027ef16ab53ffca4460063348d5576f7508f1f
parentff3bcb17f43631e5637a67df56aec6e8b8733ec4
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>
cmd/Kconfig