3 * Copyright (c) 2011, ARM Limited. All rights reserved.
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
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.
15 #ifndef _MMC_HOST_DXE_H_
16 #define _MMC_HOST_DXE_H_
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>
32 #include <Protocol/EmbeddedExternalDevice.h>
33 #include <Protocol/BlockIo.h>
34 #include <Protocol/DevicePath.h>
35 #include <Protocol/MmcHost.h>
37 #include <Omap3530/Omap3530.h>
40 #define MAX_RETRY_COUNT (100*5)
42 extern EFI_BLOCK_IO_PROTOCOL gBlockIo
;