boot: Imply CRC8 with VBE
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2024 17:24:11 +0000 (10:24 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 12 Dec 2024 22:35:24 +0000 (16:35 -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 2d4b769..4b646b7 100644 (file)
@@ -719,6 +719,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