Update description comments for IMAGE_UPDATABLE_VALID.
Add new definition IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE to FMP
CheckImage.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a...@intel.com>
Reviewed-by: Liming Gao <liming....@intel.com>
---
 MdePkg/Include/Protocol/FirmwareManagement.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/MdePkg/Include/Protocol/FirmwareManagement.h 
b/MdePkg/Include/Protocol/FirmwareManagement.h
index 7ba6a7a..844e35c 100644
--- a/MdePkg/Include/Protocol/FirmwareManagement.h
+++ b/MdePkg/Include/Protocol/FirmwareManagement.h
@@ -165,7 +165,9 @@ typedef struct {
 //
 ///
 /// IMAGE_UPDATABLE_VALID indicates SetImage() will accept the new image and 
update the 
-/// device with the new image.
+/// device with the new image. The version of the new image could be higher or 
lower than
+/// the current image. SetImage VendorCode is optional but can be used for 
vendor
+/// specific action.
 ///
 #define  IMAGE_UPDATABLE_VALID                     0x0000000000000001
 ///
@@ -185,6 +187,12 @@ typedef struct {
 /// version downgrade.
 ///
 #define  IMAGE_UPDATABLE_INVALID_OLD               0x0000000000000008
+///
+/// IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE indicates SetImage() will accept 
and update
+/// the new image only if a correct VendorCode is provided or else image would 
be
+/// rejected and SetImage will return appropriate error.
+///
+#define IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE     0x0000000000000010
 
 
 //
-- 
1.9.5.msysgit.0



------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to