Skip to content

Commit d9f47d6

Browse files
Pichika Uday KiranCompute-Runtime-Automation
authored andcommitted
firmware: Add canControl property to firmware properties
Related-To: LOCI-2679 Signed-off-by: Pichika Uday Kiran <[email protected]>
1 parent c5d403d commit d9f47d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

level_zero/tools/source/sysman/firmware/linux/os_firmware_imp.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ void LinuxFirmwareImp::osGetFwProperties(zes_firmware_properties_t *pProperties)
5454
} else {
5555
strncpy_s(static_cast<char *>(pProperties->version), ZES_STRING_PROPERTY_SIZE, unknown.c_str(), ZES_STRING_PROPERTY_SIZE);
5656
}
57+
pProperties->canControl = true; //Assuming that user has permission to flash the firmware
5758
}
5859

5960
ze_result_t LinuxFirmwareImp::osFirmwareFlash(void *pImage, uint32_t size) {

0 commit comments

Comments
 (0)