From: Heinrich Schuchardt Date: Wed, 2 Dec 2020 15:37:54 +0100 Subject: [PATCH v10 11/11] sandbox: enable capsule update for testing In-Reply-To: <20201130091218.66413-12-takahiro.akashi@linaro.org> References: <20201130091218.66413-1-takahiro.akashi@linaro.org> <20201130091218.66413-12-takahiro.akashi@linaro.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/30/20 10:12 AM, AKASHI Takahiro wrote: > Add more configuration options to allow for efi capsule update > on sandbox. > > Signed-off-by: AKASHI Takahiro > --- > configs/sandbox64_defconfig | 6 ++++++ > configs/sandbox_defconfig | 6 ++++++ > 2 files changed, 12 insertions(+) This still does not build on Gitlab CI. As indicated before the following warning must be fixed: common/update.c:178:12: warning: ?update_flash? defined but not used [-Wunused-function] 178 | static int update_flash(ulong addr_source, ulong addr_first, ulong size) | ^~~~~~~~~~~~ Best regards Heinrich > > diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig > index dc993cd13aaa..661830763feb 100644 > --- a/configs/sandbox64_defconfig > +++ b/configs/sandbox64_defconfig > @@ -231,3 +231,9 @@ CONFIG_TEST_FDTDEC=y > CONFIG_UNIT_TEST=y > CONFIG_UT_TIME=y > CONFIG_UT_DM=y > +# > +CONFIG_DFU_SF=y > +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y > +CONFIG_EFI_CAPSULE_ON_DISK=y > +CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y > +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y > diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig > index f2a767a4cdea..e385425b7d91 100644 > --- a/configs/sandbox_defconfig > +++ b/configs/sandbox_defconfig > @@ -274,3 +274,9 @@ CONFIG_TEST_FDTDEC=y > CONFIG_UNIT_TEST=y > CONFIG_UT_TIME=y > CONFIG_UT_DM=y > +# > +CONFIG_DFU_SF=y > +CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y > +CONFIG_EFI_CAPSULE_ON_DISK=y > +CONFIG_EFI_CAPSULE_FIRMWARE_FIT=y > +CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y >