Revision | 56e3d6ef5dde71065ecdcc6e008372999d09c7d0 (tree) |
---|---|
Time | 2022-07-21 17:14:04 |
Author | Pali Rohár <pali@kern...> |
Commiter | Stefan Roese |
tlv_eeprom: Add missing CRC32 dependency
tlv_eeprom uses crc32() function, so add dependency into Kconfig.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Stefan Roese <sr@denx.de>
@@ -184,6 +184,7 @@ config CMD_REGINFO | ||
184 | 184 | config CMD_TLV_EEPROM |
185 | 185 | bool "tlv_eeprom" |
186 | 186 | depends on I2C_EEPROM |
187 | + select CRC32 | |
187 | 188 | help |
188 | 189 | Display and program the system EEPROM data block in ONIE Tlvinfo |
189 | 190 | format. TLV stands for Type-Length-Value. |
@@ -192,6 +193,7 @@ config SPL_CMD_TLV_EEPROM | ||
192 | 193 | bool "tlv_eeprom for SPL" |
193 | 194 | depends on SPL_I2C_EEPROM |
194 | 195 | select SPL_DRIVERS_MISC |
196 | + select SPL_CRC32 | |
195 | 197 | help |
196 | 198 | Read system EEPROM data block in ONIE Tlvinfo format from SPL. |
197 | 199 |