1 /** @file 2 * 3 * Copyright (c) 2011, ARM Limited. All rights reserved. 4 * 5 * This program and the accompanying materials 6 * are licensed and made available under the terms and conditions of the BSD License 7 * which accompanies this distribution. The full text of the license may be found at 8 * http://opensource.org/licenses/bsd-license.php 9 * 10 * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 12 * 13 **/ 14 15 #ifndef _MMC_HOST_DXE_H_ 16 #define _MMC_HOST_DXE_H_ 17 18 #include <Uefi.h> 19 20 #include <Library/BaseLib.h> 21 #include <Library/MemoryAllocationLib.h> 22 #include <Library/DebugLib.h> 23 #include <Library/DevicePathLib.h> 24 #include <Library/IoLib.h> 25 #include <Library/PcdLib.h> 26 #include <Library/UefiBootServicesTableLib.h> 27 #include <Library/BaseMemoryLib.h> 28 #include <Library/OmapLib.h> 29 #include <Library/OmapDmaLib.h> 30 #include <Library/DmaLib.h> 31 32 #include <Protocol/EmbeddedExternalDevice.h> 33 #include <Protocol/BlockIo.h> 34 #include <Protocol/DevicePath.h> 35 #include <Protocol/MmcHost.h> 36 37 #include <Omap3530/Omap3530.h> 38 #include <TPS65950.h> 39 40 #define MAX_RETRY_COUNT (100*5) 41 42 extern EFI_BLOCK_IO_PROTOCOL gBlockIo; 43 44 #endif 45