From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 7 Dec 2020 13:44:53 -0500 Subject: [PATCH 05/14] qemu: arm64: Add support for dynamic mtdparts for the platform In-Reply-To: References: <20201126184110.30521-1-sughosh.ganu@linaro.org> <20201126184110.30521-6-sughosh.ganu@linaro.org> Message-ID: <20201207184453.GL32272@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Dec 05, 2020 at 11:29:58AM +0100, Heinrich Schuchardt wrote: > On 11/26/20 7:41 PM, Sughosh Ganu wrote: > > Add support for setting the default values for mtd partitions on the > > platform for the nor flash. This would be used for updating the > > firmware image using uefi capsule update with the dfu mtd backend > > driver. > > > > Signed-off-by: Sughosh Ganu > > --- > > board/emulation/qemu-arm/qemu-arm.c | 70 +++++++++++++++++++++++++++++ > > include/configs/qemu-arm.h | 7 +++ > > 2 files changed, 77 insertions(+) > > > > diff --git a/board/emulation/qemu-arm/qemu-arm.c b/board/emulation/qemu-arm/qemu-arm.c > > index b3d5b3d5c2..d5ed3eebaf 100644 > > --- a/board/emulation/qemu-arm/qemu-arm.c > > +++ b/board/emulation/qemu-arm/qemu-arm.c [snip] > > +#if defined(CONFIG_EFI_CAPSULE_FIRMWARE_MANAGEMENT) > > +#define CONFIG_SYS_MTDPARTS_RUNTIME > > +#endif This symbol is in Kconfig and needs to be enabled that way. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: