X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=FmpDevicePkg%2FFmpDxe%2FFmpDxe.c;h=091f950b95b23a7a2811b3060748ba04395c023f;hp=c0c1383723fb4a53d68d9d9832290927c5f59c6f;hb=1bbb51266482f2b73771cb23a4180f5617bdcecb;hpb=e8619f82ce9522e573f5dd49bb2f2d516ae9ab1b diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b/FmpDevicePkg/FmpDxe/FmpDxe.c index c0c1383723..091f950b95 100644 --- a/FmpDevicePkg/FmpDxe/FmpDxe.c +++ b/FmpDevicePkg/FmpDxe/FmpDxe.c @@ -210,12 +210,15 @@ GetLowestSupportedVersion ( // Get the LowestSupportedVersion. // - DeviceLibLowestSupportedVersion = DEFAULT_LOWESTSUPPORTEDVERSION; - ReturnLsv = PcdGet32 (PcdFmpDeviceBuildTimeLowestSupportedVersion); if (!IsLowestSupportedVersionCheckRequired ()) { - return 1; + // + // Any Version can pass the 0 LowestSupportedVersion check. + // + return 0; } + ReturnLsv = PcdGet32 (PcdFmpDeviceBuildTimeLowestSupportedVersion); + // // Check the FmpDeviceLib //