It produces BlockIo and BlockIo2 protocols to allow upper layer\r
access the SD memory card device.\r
\r
- Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
1,\r
SdEraseBlocks\r
},\r
+ { // DiskInfo\r
+ EFI_DISK_INFO_SD_MMC_INTERFACE_GUID,\r
+ SdDiskInfoInquiry,\r
+ SdDiskInfoIdentify,\r
+ SdDiskInfoSenseData,\r
+ SdDiskInfoWhichIde\r
+ },\r
{ // Queue\r
NULL,\r
NULL\r
);\r
AddUnicodeString2 (\r
"en",\r
- gSdDxeComponentName.SupportedLanguages,\r
+ gSdDxeComponentName2.SupportedLanguages,\r
&Device->ControllerNameTable,\r
Device->ModelName,\r
FALSE\r
&Device->BlockIo2,\r
&gEfiEraseBlockProtocolGuid,\r
&Device->EraseBlock,\r
+ &gEfiDiskInfoProtocolGuid,\r
+ &Device->DiskInfo,\r
NULL\r
);\r
\r
@retval EFI_SUCCESS The device was started.\r
@retval EFI_DEVICE_ERROR The device could not be started due to a device error.Currently not implemented.\r
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.\r
- @retval Others The driver failded to start the device.\r
+ @retval Others The driver failed to start the device.\r
\r
**/\r
EFI_STATUS\r
&Device->BlockIo2,\r
&gEfiEraseBlockProtocolGuid,\r
&Device->EraseBlock,\r
+ &gEfiDiskInfoProtocolGuid,\r
+ &Device->DiskInfo,\r
NULL\r
);\r
if (EFI_ERROR (Status)) {\r