]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/OpalPassword: Remove dependency on EFI_BLOCK_IO_PROTOCOL
authorChu, Maggie </o=Intel/ou=External (FYDIBOHF25SPDLT)/cn=Recipients/cn=fe425ca7e5f4401abed22b904fe5d964>
Mon, 4 Nov 2019 04:04:28 +0000 (12:04 +0800)
committerEric Dong <eric.dong@intel.com>
Wed, 6 Nov 2019 08:16:18 +0000 (16:16 +0800)
commit1a04951309f807958cf54d38c29796737718e65f
tree82159afb178de35a6d2b6551c9f267e08cbc165c
parent78413dd4bc9718b6a5dde74d903e71764d48b8a7
SecurityPkg/OpalPassword: Remove dependency on EFI_BLOCK_IO_PROTOCOL

https://bugzilla.tianocore.org/show_bug.cgi?id=2327

RAID drivers abstract their physical drives that make up
the array into a single unit, and do not supply individual
EFI_BLOCK_IO_PROTOCOL instances for each physical drive in the array.
This breaks support for the Security Storage Command Protocol,
which currently requires an EFI_BLOCK_IO_PROTOCOL to be associated
with the same device the protocol is installed on and provide
all the same parameters.

This patch remove dependency on EFI_BLOCK_IO_PROTOCOL and
allows access to Opal drive members of a RAID array.

Signed-off-by: Maggie Chu <maggie.chu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c