CheckImage(), GetPackageInfo(), and SetPackageInfo() shall return\r
EFI_UNSUPPORTED if not supported by the driver.\r
\r
- Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
Copyright (c) 2013 - 2014, Hewlett-Packard Development Company, L.P.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
//\r
// Image Compatibility Definitions\r
//\r
+///\r
/// Values from 0x0000000000000002 thru 0x000000000000FFFF are reserved for future assignments.\r
/// Values from 0x0000000000010000 thru 0xFFFFFFFFFFFFFFFF are used by firmware vendor for\r
/// compatibility check.\r
\r
\r
///\r
-/// Image Attribute -Authentication Required\r
+/// Image Attribute - Authentication Required\r
///\r
typedef struct {\r
///\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
/// 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
\r
\r
//\r
#define PACKAGE_ATTRIBUTE_AUTHENTICATION_REQUIRED 0x0000000000000004\r
\r
/**\r
- Callback funtion to report the process of the firmware updating.\r
+ Callback function to report the process of the firmware updating.\r
\r
@param[in] Completion A value between 1 and 100 indicating the current completion\r
progress of the firmware update. Completion progress is\r
@retval EFI_INVALID_PARAMETER The Image was NULL.\r
@retval EFI_NOT_FOUND The current image is not copied to the buffer.\r
@retval EFI_UNSUPPORTED The operation is not supported.\r
- @retval EFI_SECURITY_VIOLATIO The operation could not be performed due to an authentication failure.\r
+ @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure.\r
\r
**/\r
typedef\r
@retval EFI_ABORTED The operation is aborted.\r
@retval EFI_INVALID_PARAMETER The Image was NULL.\r
@retval EFI_UNSUPPORTED The operation is not supported.\r
- @retval EFI_SECURITY_VIOLATIO The operation could not be performed due to an authentication failure.\r
+ @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure.\r
\r
**/\r
typedef\r
@retval EFI_SUCCESS The image was successfully checked.\r
@retval EFI_INVALID_PARAMETER The Image was NULL.\r
@retval EFI_UNSUPPORTED The operation is not supported.\r
- @retval EFI_SECURITY_VIOLATIO The operation could not be performed due to an authentication failure.\r
+ @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure.\r
\r
**/\r
typedef\r
@retval EFI_INVALID_PARAMETER The PackageVersionName length is longer than the value\r
returned in PackageVersionNameMaxLen.\r
@retval EFI_UNSUPPORTED The operation is not supported.\r
- @retval EFI_SECURITY_VIOLATIO The operation could not be performed due to an authentication failure.\r
+ @retval EFI_SECURITY_VIOLATION The operation could not be performed due to an authentication failure.\r
\r
**/\r
typedef\r