diff mbox series

[v9,04/10] sandbox: capsule: Enable EFI capsule module on sandbox variants

Message ID 20230812055725.252424-5-sughosh.ganu@linaro.org
State Superseded
Delegated to: Tom Rini
Headers show
Series Enable EFI capsule generation through binman | expand

Commit Message

Sughosh Ganu Aug. 12, 2023, 5:57 a.m. UTC
Enable the EFI capsule update code on all sandbox variants. This was
already enabled on the sandbox, sandbox64 and sandbox_flattree
variants. The rest of the variants also have the EFI capsule update
module  enabled now. With this commit, the mkeficapsule tool also gets
enabled on all variants.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
---
Changes since V8:
* New patch to build the capsule code for all sandbox variants.

 configs/sandbox_noinst_defconfig | 2 ++
 configs/sandbox_spl_defconfig    | 2 ++
 configs/sandbox_vpl_defconfig    | 2 ++
 3 files changed, 6 insertions(+)

Comments

Simon Glass Aug. 12, 2023, 2:24 p.m. UTC | #1
On Fri, 11 Aug 2023 at 23:58, Sughosh Ganu <sughosh.ganu@linaro.org> wrote:
>
> Enable the EFI capsule update code on all sandbox variants. This was
> already enabled on the sandbox, sandbox64 and sandbox_flattree
> variants. The rest of the variants also have the EFI capsule update
> module  enabled now. With this commit, the mkeficapsule tool also gets
> enabled on all variants.

(except 'tool-only', right?)

>
> Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> ---
> Changes since V8:
> * New patch to build the capsule code for all sandbox variants.
>
>  configs/sandbox_noinst_defconfig | 2 ++
>  configs/sandbox_spl_defconfig    | 2 ++
>  configs/sandbox_vpl_defconfig    | 2 ++
>  3 files changed, 6 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Sughosh Ganu Aug. 12, 2023, 3:33 p.m. UTC | #2
hi Simon,

On Sat, 12 Aug 2023 at 19:55, Simon Glass <sjg@chromium.org> wrote:
>
> On Fri, 11 Aug 2023 at 23:58, Sughosh Ganu <sughosh.ganu@linaro.org> wrote:
> >
> > Enable the EFI capsule update code on all sandbox variants. This was
> > already enabled on the sandbox, sandbox64 and sandbox_flattree
> > variants. The rest of the variants also have the EFI capsule update
> > module  enabled now. With this commit, the mkeficapsule tool also gets
> > enabled on all variants.
>
> (except 'tool-only', right?)

tools-only already has mkeficapsule build enabled.

-sughosh

>
> >
> > Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> > ---
> > Changes since V8:
> > * New patch to build the capsule code for all sandbox variants.
> >
> >  configs/sandbox_noinst_defconfig | 2 ++
> >  configs/sandbox_spl_defconfig    | 2 ++
> >  configs/sandbox_vpl_defconfig    | 2 ++
> >  3 files changed, 6 insertions(+)
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/configs/sandbox_noinst_defconfig b/configs/sandbox_noinst_defconfig
index 2c6aab6c85..e202ffccd2 100644
--- a/configs/sandbox_noinst_defconfig
+++ b/configs/sandbox_noinst_defconfig
@@ -237,6 +237,8 @@  CONFIG_TPM=y
 CONFIG_LZ4=y
 CONFIG_ZSTD=y
 CONFIG_ERRNO_STR=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
 CONFIG_UNIT_TEST=y
 CONFIG_SPL_UNIT_TEST=y
 CONFIG_UT_TIME=y
diff --git a/configs/sandbox_spl_defconfig b/configs/sandbox_spl_defconfig
index 8d50162b27..25a21b8493 100644
--- a/configs/sandbox_spl_defconfig
+++ b/configs/sandbox_spl_defconfig
@@ -245,6 +245,8 @@  CONFIG_LZ4=y
 CONFIG_ZSTD=y
 CONFIG_ERRNO_STR=y
 CONFIG_SPL_HEXDUMP=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
 CONFIG_UNIT_TEST=y
 CONFIG_SPL_UNIT_TEST=y
 CONFIG_UT_TIME=y
diff --git a/configs/sandbox_vpl_defconfig b/configs/sandbox_vpl_defconfig
index f3a0fd19a9..a9a7136ce7 100644
--- a/configs/sandbox_vpl_defconfig
+++ b/configs/sandbox_vpl_defconfig
@@ -256,6 +256,8 @@  CONFIG_LZ4=y
 CONFIG_ZSTD=y
 # CONFIG_VPL_LZMA is not set
 CONFIG_ERRNO_STR=y
+CONFIG_EFI_CAPSULE_ON_DISK=y
+CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
 CONFIG_UNIT_TEST=y
 CONFIG_SPL_UNIT_TEST=y
 CONFIG_UT_TIME=y