From: Pali Rohár Date: Mon, 30 May 2022 08:42:35 +0000 (+0200) Subject: tlv_eeprom: Add missing CRC32 dependency X-Git-Tag: baikal/mips/sdk5.8.2~5^2~281^2~6 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=26ce1e956edf5735c06aa21e046d8c59b62bb32d;p=uboot.git tlv_eeprom: Add missing CRC32 dependency tlv_eeprom uses crc32() function, so add dependency into Kconfig. Signed-off-by: Pali Rohár Reviewed-by: Baruch Siach Reviewed-by: Stefan Roese --- diff --git a/cmd/Kconfig b/cmd/Kconfig index d5f842136c..b3820f1e04 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -184,6 +184,7 @@ config CMD_REGINFO config CMD_TLV_EEPROM bool "tlv_eeprom" depends on I2C_EEPROM + select CRC32 help Display and program the system EEPROM data block in ONIE Tlvinfo format. TLV stands for Type-Length-Value. @@ -192,6 +193,7 @@ config SPL_CMD_TLV_EEPROM bool "tlv_eeprom for SPL" depends on SPL_I2C_EEPROM select SPL_DRIVERS_MISC + select SPL_CRC32 help Read system EEPROM data block in ONIE Tlvinfo format from SPL.