net/qede/base: add new image types
authorRasesh Mody <rasesh.mody@cavium.com>
Wed, 29 Mar 2017 20:36:38 +0000 (13:36 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:52 +0000 (19:02 +0200)
Add new image types - RECOVERY and PK (Public Key) towards
the second phase of NVRAM security support.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/mcp_public.h

index 1b1ecd2..d3cbc96 100644 (file)
@@ -1502,6 +1502,10 @@ struct public_drv_mb {
 #define FW_MSG_CODE_NVM_PUT_FILE_FINISH_OK     0x00400000
 /* MFW reject "mcp reset" command if one of the drivers is up */
 #define FW_MSG_CODE_MCP_RESET_REJECT           0x00600000
+#define FW_MSG_CODE_NVM_FAILED_CALC_HASH       0x00310000
+#define FW_MSG_CODE_NVM_PUBLIC_KEY_MISSING     0x00320000
+#define FW_MSG_CODE_NVM_INVALID_PUBLIC_KEY     0x00330000
+
 #define FW_MSG_CODE_PHY_OK                     0x00110000
 #define FW_MSG_CODE_PHY_ERROR                  0x00120000
 #define FW_MSG_CODE_SET_SECURE_MODE_ERROR      0x00130000
@@ -1530,6 +1534,7 @@ struct public_drv_mb {
 #define FW_MSG_CODE_EXTPHY_INVALID_PHY_TYPE    0x00710000
 #define FW_MSG_CODE_EXTPHY_OPERATION_FAILED    0x00720000
 #define FW_MSG_CODE_EXTPHY_NO_PHY_DETECTED     0x00730000
+#define FW_MSG_CODE_RECOVERY_MODE              0x00740000
 
        /* mdump related response codes */
 #define FW_MSG_CODE_MDUMP_NO_IMAGE_FOUND       0x00010000