public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: "Pali Rohár" <pali@kernel.org>
Cc: Stefan Roese <sr@denx.de>, Simon Glass <sjg@chromium.org>,
	u-boot@lists.denx.de
Subject: Re: [PATCH] tlv_eeprom: Add missing CRC32 dependency
Date: Mon, 30 May 2022 12:20:46 +0300	[thread overview]
Message-ID: <87v8tne5pi.fsf@tarshish> (raw)
In-Reply-To: <20220530084235.13027-1-pali@kernel.org>

Hi Pali,

On Mon, May 30 2022, Pali Rohár wrote:
> 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>

Thanks,
baruch

> ---
>  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.


-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

  reply	other threads:[~2022-05-30  9:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30  8:42 [PATCH] tlv_eeprom: Add missing CRC32 dependency Pali Rohár
2022-05-30  9:20 ` Baruch Siach [this message]
2022-05-30  9:25 ` Stefan Roese
2022-07-21 12:25 ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v8tne5pi.fsf@tarshish \
    --to=baruch@tkos.co.il \
    --cc=pali@kernel.org \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox