Michael Kubacki 
							
						 
					 
					
						
						
							
						
						45ce0a67bb 
					 
					
						
						
							
							FmpDevicePkg: Apply uncrustify changes  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 
Apply uncrustify changes to .c/.h files in the FmpDevicePkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						9c721071d3 
					 
					
						
						
							
							FmpDevicePkg: Change OPTIONAL keyword usage style  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760 
Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael Kubacki <michael.kubacki@microsoft.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Kubacki 
							
						 
					 
					
						
						
							
						
						207414cba4 
					 
					
						
						
							
							FmpDevicePkg: Add Last Attempt Status support to dependency libs  
						
						... 
						
						
						
						The FMP dependency libraries are leveraged during firmware update
to check for dependencies required to update the image.
This change adds granular Last Attempt Status code support to these
services so failures can be more easily observed during the firmware
update process via Last Attempt Status codes.
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Guomin Jiang <guomin.jiang@intel.com >
Cc: Wei6 Xu <wei6.xu@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Acked-by: Liming Gao <gaoliming@byosoft.com.cn >
Reviewed-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com > 
						
						
					 
					
						2020-10-28 06:05:52 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Kubacki 
							
						 
					 
					
						
						
							
						
						e4e27351e8 
					 
					
						
						
							
							FmpDevicePkg/FmpDependencyCheckLib: Return unsatisfied on handle failure  
						
						... 
						
						
						
						CheckFmpDependency () will currently return that dependencies are
satisfied if the initial call in the function to locate handles
that have gEfiFirmwareManagementProtocolGuid installed fails.
This change updates the error handling to return FALSE (dependencies
are not satisfied) if this handle search fails.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Guomin Jiang <guomin.jiang@intel.com >
Cc: Wei6 Xu <wei6.xu@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com >
Reviewed-by: Wei6 Xu <wei6.xu@intel.com > 
						
						
					 
					
						2020-08-07 02:30:01 +00:00 
						 
				 
			
				
					
						
							
							
								Wei6 Xu 
							
						 
					 
					
						
						
							
						
						6c4966423b 
					 
					
						
						
							
							FmpDevicePkg: Add FmpDependencyCheck library class and instances  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2696 
* This library class provides platform specific services to support
dependency check during updating firmware image. Platform can perform
dependency check in platform specific manner by implementing its own
FmpDependencyCheckLib.
* Add FmpDependencyCheck instance to provide a sample of dependency
check. The sample instance only checks the dependency from capsule
image. The dependency from other FMP instances isn't checked here.
* Add NULL instance as an option to skip the dependency check.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Signed-off-by: Wei6 Xu <wei6.xu@intel.com >
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2020-05-15 06:11:44 +00:00