This file defines common data structures, macro definitions and some module\r
internal function header files.\r
\r
- Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\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
#include <Protocol/SdMmcPassThru.h>\r
#include <Protocol/BlockIo.h>\r
#include <Protocol/BlockIo2.h>\r
+#include <Protocol/EraseBlock.h>\r
\r
#include <Protocol/DevicePath.h>\r
\r
#define SD_DEVICE_DATA_FROM_BLKIO2(a) \\r
CR(a, SD_DEVICE, BlockIo2, SD_DEVICE_SIGNATURE)\r
\r
+#define SD_DEVICE_DATA_FROM_ERASEBLK(a) \\r
+ CR(a, SD_DEVICE, EraseBlock, SD_DEVICE_SIGNATURE)\r
+\r
//\r
// Take 2.5 seconds as generic time out value, 1 microsecond as unit.\r
//\r
EFI_BLOCK_IO_PROTOCOL BlockIo;\r
EFI_BLOCK_IO2_PROTOCOL BlockIo2;\r
EFI_BLOCK_IO_MEDIA BlockMedia;\r
+ EFI_ERASE_BLOCK_PROTOCOL EraseBlock;\r
\r
LIST_ENTRY Queue;\r
\r