[PATCH 17/19] lib: Allow crc8 in TPL and VPL

Tom Rini trini at konsulko.com
Thu Aug 29 19:30:11 CEST 2024


On Thu, Aug 29, 2024 at 08:58:00AM -0600, Simon Glass wrote:
> Provide options to enable the CRC8 feature in TPL and VPL builds.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  lib/Kconfig | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
> 
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 72a5f3cb04f..b2d5e8d04a7 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -698,6 +698,24 @@ config SPL_CRC8
>  	  checksum with feedback to produce an 8-bit result. The code is small
>  	  and it does not require a lookup table (unlike CRC32).
>  
> +config TPL_CRC8
> +	bool "Support CRC8 in TPL"
> +	depends on SPL

Should be TPL not SPL here I assume.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240829/2edd4c62/attachment.sig>


More information about the U-Boot mailing list