X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmPlatformPkg%2FDrivers%2FNorFlashDxe%2FNorFlashFvbDxe.c;h=e62ffbb433d08784b377b112b7b4a35bab887e06;hb=6281a2ed3bb3ffe57ed54cabd9a31dcf13b415f8;hp=c3e6489f398f896811d16999cb3a09292425329f;hpb=0f87c53d0d0eb7e7c003e209705ec79264e0852b;p=mirror_edk2.git diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c index c3e6489f39..e62ffbb433 100644 --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c +++ b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashFvbDxe.c @@ -25,6 +25,7 @@ #include #include +#include #include "NorFlashDxe.h" @@ -776,6 +777,18 @@ NorFlashFvbInitialize ( } } + // + // The driver implementing the variable read service can now be dispatched; + // the varstore headers are in place. + // + Status = gBS->InstallProtocolInterface ( + &gImageHandle, + &gEdkiiNvVarStoreFormattedGuid, + EFI_NATIVE_INTERFACE, + NULL + ); + ASSERT_EFI_ERROR (Status); + // // Register for the virtual address change event //