-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip registering erase blocks protocol if storage type is not virtual
We only initialize erase blocks in virtual storage case, since there is no callback function for other storage types(mmc, ufs and nvme).Otherwise it will bring out "EFI_ERASE_BLOCK_PROTOCOL failed to erase block" error log while erasing. Change-Id: Iffb6582d81814cf7ef055221d66f08e265517165 Tracked-On: https://jira.devtools.intel.com/browse/OAM-83031 Signed-off-by: Yang, Kai <[email protected]> Reviewed-on: https://android.intel.com:443/672993
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters