Skip to content

Commit 5ecf034

Browse files
committed
types.h: add missing enum for firmware updates
Add bit 5, support multiple update detection enum and its description. Signed-off-by: Ankit Kumar <[email protected]>
1 parent 2717ab4 commit 5ecf034

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/nvme/types.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,11 +1270,15 @@ enum nvme_id_ctrl_oacs {
12701270
* firmware slots that the controller supports.
12711271
* @NVME_CTRL_FRMW_FW_ACT_NO_RESET: If set, the controller supports firmware
12721272
* activation without a reset.
1273+
* @NVME_CTRL_FRMW_FW_MP_UP_DETECTION: If set, the controller is able to detect
1274+
* overlapping firmware/boot partition
1275+
* image update.
12731276
*/
12741277
enum nvme_id_ctrl_frmw {
12751278
NVME_CTRL_FRMW_1ST_RO = 1 << 0,
12761279
NVME_CTRL_FRMW_NR_SLOTS = 3 << 1,
12771280
NVME_CTRL_FRMW_FW_ACT_NO_RESET = 1 << 4,
1281+
NVME_CTRL_FRMW_MP_UP_DETECTION = 1 << 5,
12781282
};
12791283

12801284
/**

0 commit comments

Comments
 (0)