[PATCH] bloblist: Enforce CRC32

In the common bloblist code we call crc32 to get a checksum for the data. Ensure we will have the CRC32 code via select.
Signed-off-by: Tom Rini trini@konsulko.com --- common/Kconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/common/Kconfig b/common/Kconfig index 1ca9fc3abfc4..cdb77a6a7da2 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -951,6 +951,7 @@ menu "Blob list"
config BLOBLIST bool "Support for a bloblist" + select CRC32 help This enables support for a bloblist in U-Boot, which can be passed from TPL to SPL to U-Boot proper (and potentially to Linux). The @@ -961,6 +962,7 @@ config BLOBLIST config SPL_BLOBLIST bool "Support for a bloblist in SPL" depends on BLOBLIST && SPL_LIBGENERIC_SUPPORT && SPL_LIBCOMMON_SUPPORT + select SPL_CRC32 default y if SPL help This enables a bloblist in SPL. If this is the first part of U-Boot @@ -970,6 +972,7 @@ config SPL_BLOBLIST config TPL_BLOBLIST bool "Support for a bloblist in TPL" depends on BLOBLIST && TPL_LIBGENERIC_SUPPORT && TPL_LIBCOMMON_SUPPORT + select TPL_CRC32 default y if TPL help This enables a bloblist in TPL. The bloblist is set up in TPL and

On Mon, Aug 07, 2023 at 01:38:18PM -0400, Tom Rini wrote:
In the common bloblist code we call crc32 to get a checksum for the data. Ensure we will have the CRC32 code via select.
Signed-off-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!

On Mon, 7 Aug 2023 at 11:38, Tom Rini trini@konsulko.com wrote:
In the common bloblist code we call crc32 to get a checksum for the data. Ensure we will have the CRC32 code via select.
Signed-off-by: Tom Rini trini@konsulko.com
common/Kconfig | 3 +++ 1 file changed, 3 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
participants (2)
-
Simon Glass
-
Tom Rini