Re: [edk2-devel] [PATCH V2] MdeModulePkg/CapsulePei: Optimize the CapsulePei

2019-05-30 Thread Wu, Hao A
; Michael Turner; Gao, Zhichao > Subject: [edk2-devel] [PATCH V2] MdeModulePkg/CapsulePei: Optimize the > CapsulePei > > From: Bret Barkelew > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1853 > > Optimize some function in CapsulePei to make it easier > t

[edk2-devel] [PATCH V2] MdeModulePkg/CapsulePei: Optimize the CapsulePei

2019-05-30 Thread Gao, Zhichao
From: Bret Barkelew REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1853 Optimize some function in CapsulePei to make it easier to maintian. 1. Separate the capsule check function form GetCapsuleDescriptors to AreCapsulesStaged. The original logic is unclear. 2. Avoid querying the capsule