[PATCH] tlv_eeprom: Add missing CRC32 dependency

Stefan Roese sr at denx.de
Mon May 30 11:25:08 CEST 2022


On 30.05.22 10:42, Pali Rohár wrote:
> tlv_eeprom uses crc32() function, so add dependency into Kconfig.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan


> ---
>   cmd/Kconfig | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/cmd/Kconfig b/cmd/Kconfig
> index 69c1814d24af..d513d808aa3d 100644
> --- a/cmd/Kconfig
> +++ b/cmd/Kconfig
> @@ -167,6 +167,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.
> @@ -175,6 +176,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.
>   

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list