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.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17321
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
///\r
/// IMAGE_UPDATABLE_VALID indicates SetImage() will accept the new image and update the\r
//\r
///\r
/// IMAGE_UPDATABLE_VALID indicates SetImage() will accept the new image and update the\r
-/// device with the new image.\r
+/// device with the new image. The version of the new image could be higher or lower than\r
+/// the current image. SetImage VendorCode is optional but can be used for vendor\r
+/// specific action.\r
///\r
#define IMAGE_UPDATABLE_VALID 0x0000000000000001\r
///\r
///\r
#define IMAGE_UPDATABLE_VALID 0x0000000000000001\r
///\r
/// version downgrade.\r
///\r
#define IMAGE_UPDATABLE_INVALID_OLD 0x0000000000000008\r
/// version downgrade.\r
///\r
#define IMAGE_UPDATABLE_INVALID_OLD 0x0000000000000008\r
+///\r
+/// IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE indicates SetImage() will accept and update\r
+/// the new image only if a correct VendorCode is provided or else image would be\r
+/// rejected and SetImage will return appropriate error.\r
+///\r
+#define IMAGE_UPDATABLE_VALID_WITH_VENDOR_CODE 0x0000000000000010\r