It's done by producing EFI_ERASE_BLOCK_PROTOCOL protocol instance. Cc: Hao Wu <hao.a.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com>
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
| ## @file
 | |
| #  SdDxe driver is used to manage the SD memory card device.
 | |
| #
 | |
| #  It produces BlockIo and BlockIo2 protocols to allow upper layer
 | |
| #  access the SD memory card device.
 | |
| #
 | |
| #  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
 | |
| #
 | |
| #  This program and the accompanying materials
 | |
| #  are licensed and made available under the terms and conditions of the BSD License
 | |
| #  which accompanies this distribution. The full text of the license may be found at
 | |
| #  http://opensource.org/licenses/bsd-license.php
 | |
| #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | |
| #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | |
| #
 | |
| #
 | |
| ##
 | |
| 
 | |
| [Defines]
 | |
|   INF_VERSION                    = 0x00010005
 | |
|   BASE_NAME                      = SdDxe
 | |
|   MODULE_UNI_FILE                = SdDxe.uni
 | |
|   FILE_GUID                      = 430AC2F7-EEC6-4093-94F7-9F825A7C1C40
 | |
|   MODULE_TYPE                    = UEFI_DRIVER
 | |
|   VERSION_STRING                 = 1.0
 | |
|   ENTRY_POINT                    = InitializeSdDxe
 | |
| 
 | |
| #
 | |
| # The following information is for reference only and not required by the build tools.
 | |
| #
 | |
| #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
 | |
| #
 | |
| #  DRIVER_BINDING                =  gSdDxeDriverBinding
 | |
| #  COMPONENT_NAME                =  gSdDxeComponentName
 | |
| #  COMPONENT_NAME2               =  gSdDxeComponentName2
 | |
| #
 | |
| 
 | |
| [Sources.common]
 | |
|   ComponentName.c
 | |
|   SdDxe.c
 | |
|   SdDxe.h
 | |
|   SdBlockIo.c
 | |
|   SdBlockIo.h
 | |
| 
 | |
| [Packages]
 | |
|   MdePkg/MdePkg.dec
 | |
| 
 | |
| [LibraryClasses]
 | |
|   DevicePathLib
 | |
|   UefiBootServicesTableLib
 | |
|   MemoryAllocationLib
 | |
|   BaseMemoryLib
 | |
|   UefiLib
 | |
|   BaseLib
 | |
|   UefiDriverEntryPoint
 | |
|   DebugLib
 | |
| 
 | |
| [Protocols]
 | |
|   gEfiSdMmcPassThruProtocolGuid                ## TO_START
 | |
|   gEfiBlockIoProtocolGuid                      ## BY_START
 | |
|   gEfiBlockIo2ProtocolGuid                     ## BY_START
 | |
|   gEfiEraseBlockProtocolGuid                   ## BY_START
 | |
|   ## TO_START
 | |
|   ## BY_START
 | |
|   gEfiDevicePathProtocolGuid
 | |
| 
 |