On Fri, 14 Oct 2022 at 18:50, Sunil V L <suni...@ventanamicro.com> wrote: > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4076 > > RISC-V needs NorFlashDxe driver for qemu virt machine. The > ArmPlatformPkg has this driver but migrating it to generic > package like MdeModulePkg introduces circular dependencies. > So, add NorFlashDxe driver in OvmfPkg which is mostly the > copy of the driver in ArmPlatformPkg except the support > for PcdNorFlashCheckBlockLocked feature. This approach also > allows to optimize the driver for virtual platforms. > > Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> > Cc: Jiewen Yao <jiewen....@intel.com> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Gerd Hoffmann <kra...@redhat.com> > Signed-off-by: Sunil V L <suni...@ventanamicro.com> > --- > OvmfPkg/Drivers/NorFlashDxe/NorFlashDxe.inf | 67 ++ > OvmfPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.inf | 61 ++
I don't think we need the StandaloneMm variant here -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#95367): https://edk2.groups.io/g/devel/message/95367 Mute This Topic: https://groups.io/mt/94330865/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-