Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit e04e244

Browse files
GraspEmptybuildslave
authored andcommitted
[p_master] Clean critical KW issue in BOOT-OTA domain
Initialized 'device_map' array elements with index range: == 5. Change-Id: I6a243a68f6f03db528087b4d9ea45fbf8b89803c Tracked-On: https://jira01.devtools.intel.com/browse/OAM-71598 Signed-off-by: sunxunou <[email protected]> Reviewed-on: https://android.intel.com:443/651484
1 parent 9370b4d commit e04e244

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/abl/capsule_msg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ static EFI_STATUS cse4sbl_capsule_cmd_create(CSE_CMD **cmd, size_t *cmd_size, co
205205
[STORAGE_SDCARD] = OsBootDeviceSd,
206206
[STORAGE_SATA] = OsBootDeviceSata,
207207
[STORAGE_NVME] = OsBootDeviceNvme,
208+
[STORAGE_VIRTUAL] = OsBootDeviceVirtual,
208209
[STORAGE_ALL] = OsBootDeviceEmmc
209210
};
210211

include/libefiwrapper/storage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ typedef enum {
6767
OsBootDeviceUsb,
6868
OsBootDeviceNvme,
6969
OsBootDeviceMemory,
70+
OsBootDeviceVirtual,
7071
OsBootDeviceMax
7172
} SBL_OS_BOOT_MEDIUM_TYPE;
7273

0 commit comments

Comments
 (0)