]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fwu: fix config FWU_MULTI_BANK_UPDATE
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 7 May 2023 06:39:34 +0000 (08:39 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 May 2023 09:09:51 +0000 (11:09 +0200)
Symbol CONFIG_EFI_SETUP_EARLY does not exist anymore.

CONFIG_FWU_MULTI_BANK_UPDATE without CONFIG_FWU_MDATA results in

    lib/fwu_updates/fwu.c:49: undefined reference to `fwu_get_mdata'

Fixes: 86794052418b ("FWU: Add support for the FWU Multi Bank Update feature")
Fixes: 023d9c93932c ("efi_loader: remove CONFIG_EFI_SETUP_EARLY")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Sughosh Ganu <sughosh.ganu@linaro.org>
lib/fwu_updates/Kconfig

index 78759e6618dffdc11003613c4be45a1313803be4..71f34793d9261e5fa6ca7c7cb5b6a39ef6d8c698 100644 (file)
@@ -2,7 +2,7 @@ config FWU_MULTI_BANK_UPDATE
        bool "Enable FWU Multi Bank Update Feature"
        depends on EFI_CAPSULE_ON_DISK
        select PARTITION_TYPE_GUID
-       select EFI_SETUP_EARLY
+       select FWU_MDATA
        imply EFI_CAPSULE_ON_DISK_EARLY
        select EVENT
        help