Select Firmware Image Slot (Function Index 25)
This _DSM Interface for Byte Addressable Energy Backed Function Class (Function Interface 1) function selects which firmware image is active. The selected image shall be loaded when the device resets.
Registers are defined in the Byte Addressable Energy Backed Interface specification.
Input
Arg3
Field | Byte length | Byte offset | Description |
---|---|---|---|
Firmware Slot | 1 | 0 | The firmware image slot that shall be selected as active when the device resets. |
Note
The firmware shall write the Firmware Slot value to the lower 4 bits of the FW_SLOT_INFO (3, 0x42) register.
Output
Field | Byte length | Byte offset | Description |
---|---|---|---|
Status | 4 | 0 | This function can return the following Function-Specific Error Codes: 1: Invalid slot number. 2: There is no image in this slot. For more information, see _DSM Method Output. |
Related articles
Start Firmware Update (Function Index 22)
Send Firmware Update Data (Function Index 23)