[PATCH 1/1] fwu: fix config FWU_MULTI_BANK_UPDATE

Ilias Apalodimas ilias.apalodimas at linaro.org
Mon May 8 11:52:53 CEST 2023


On Sun, 7 May 2023 at 09:39, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> 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 at canonical.com>
> ---
>  lib/fwu_updates/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/fwu_updates/Kconfig b/lib/fwu_updates/Kconfig
> index 78759e6618..71f34793d9 100644
> --- a/lib/fwu_updates/Kconfig
> +++ b/lib/fwu_updates/Kconfig
> @@ -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
> --
> 2.39.2
>\

Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list