Reviewed-by: Zailiang Sun <zailiang....@intel.com> > -----Original Message----- > From: Kinney, Michael D > Sent: Thursday, May 9, 2019 12:31 PM > To: devel@edk2.groups.io > Cc: Sun, Zailiang <zailiang....@intel.com>; Qian, Yi <yi.q...@intel.com> > Subject: [Patch 13/16] Vlv2TbltDevicePkg/Capsule: Do not clear UEFI varstore > > Preserve the UEFI Variable store when a capsule update is performed. UEFI > Variables are used to store firmware version information for the sample > devices (Red, Green, Blue). > > Cc: Zailiang Sun <zailiang....@intel.com> > Cc: Yi Qian <yi.q...@intel.com> > Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com> > --- > .../Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLib.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git > a/Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLib. > c > b/Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLib. > c > index 3d5649164b..a863d69381 100644 > --- > a/Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLib. > c > +++ > b/Vlv2TbltDevicePkg/Feature/Capsule/Library/FmpDeviceLib/FmpDeviceLi > +++ b.c > @@ -1,8 +1,8 @@ > /** > > -Copyright (c) 2016, Microsoft Corporation > +Copyright (c) 2016, Microsoft Corporation. All rights reserved. > +Copyright (c) 2019, Intel Corporation. All rights reserved. > > -All rights reserved. > SPDX-License-Identifier: BSD-2-Clause-Patent > > **/ > @@ -36,8 +36,7 @@ UPDATE_CONFIG_DATA mUpdateConfigData[] = { > { PlatformFirmwareTypeSystemFirmware, > FlashAddressTypeRelativeAddress, 0x000C0000, 0x00050000, 0x000C0000 }, > { PlatformFirmwareTypeSystemFirmware, > FlashAddressTypeRelativeAddress, 0x00110000, 0x00210000, 0x00110000 }, > { PlatformFirmwareTypeSystemFirmware, > FlashAddressTypeRelativeAddress, 0x00320000, 0x00070000, 0x00320000 }, > - { PlatformFirmwareTypeSystemFirmware, > FlashAddressTypeRelativeAddress, 0x00390000, 0x00070000, 0x00390000 }, > - { PlatformFirmwareTypeNvRam, FlashAddressTypeRelativeAddress, > 0x00040000, 0x00080000, 0x00040000 } > + { PlatformFirmwareTypeSystemFirmware, > + FlashAddressTypeRelativeAddress, 0x00390000, 0x00070000, 0x00390000 } > }; > > /** > -- > 2.21.0.windows.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#40300): https://edk2.groups.io/g/devel/message/40300 Mute This Topic: https://groups.io/mt/31551782/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-