1 /** @file
2 Platform init DXE driver header file.
3 
4 Copyright (c) 2013 Intel Corporation.
5 
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution.  The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
10 
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 
14 **/
15 
16 #ifndef _PLATFORM_TYPES_H_
17 #define _PLATFORM_TYPES_H_
18 
19 #include <PiDxe.h>
20 #include <Library/DebugLib.h>
21 #include <Library/BaseLib.h>
22 #include <Library/BaseMemoryLib.h>
23 #include <Library/UefiLib.h>
24 #include <Library/UefiBootServicesTableLib.h>
25 #include <Library/HobLib.h>
26 #include <Library/UefiRuntimeServicesTableLib.h>
27 #include <Library/PlatformHelperLib.h>
28 #include <Library/PlatformPcieHelperLib.h>
29 #include <Library/IntelQNCLib.h>
30 #include <Library/QNCAccessLib.h>
31 #include <Library/DxeServicesTableLib.h>
32 #include <Library/I2cLib.h>
33 #include <Protocol/Variable.h>
34 #include <Protocol/Cpu.h>
35 #include <Protocol/PciEnumerationComplete.h>
36 #include <Protocol/Spi.h>
37 #include <Protocol/PlatformSmmSpiReady.h>
38 #include <Protocol/SmmConfiguration.h>
39 #include <Guid/HobList.h>
40 #include <IntelQNCRegs.h>
41 #include <Platform.h>
42 #include <Pcal9555.h>
43 #include <PlatformBoards.h>
44 #include <IohAccess.h>
45 
46 #define BLOCK_SIZE_32KB                             0x8000
47 #define BLOCK_SIZE_64KB                             0x10000
48 
49 //
50 // Function prototypes for routines private to this driver.
51 //
52 EFI_STATUS
53 EFIAPI
54 CreateConfigEvents (
55   VOID
56   );
57 
58 EFI_STATUS
59 EFIAPI
60 PlatformPcal9555Config (
61   IN CONST EFI_PLATFORM_TYPE              PlatformType
62   );
63 
64 #endif
65