boot: Imply CRC8 with VBE
authorSimon Glass <sjg@chromium.org>
Thu, 19 Dec 2024 18:29:06 +0000 (11:29 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 27 Dec 2024 21:16:10 +0000 (15:16 -0600)
VBE uses a crc8 checksum to verify that the nvdata is valid, so make
sure it is available if VBE is enabled.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/Kconfig

index cdf787e..20935a2 100644 (file)
@@ -704,6 +704,8 @@ config SPL_BOOTMETH_VBE_REQUEST
 config BOOTMETH_VBE_SIMPLE
        bool "Bootdev support for VBE 'simple' method"
        default y
+       imply SPL_CRC8 if SPL
+       imply VPL_CRC8 if VPL
        help
          Enables support for VBE 'simple' boot. This allows updating a single
          firmware image in boot media such as MMC. It does not support any sort