]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2TbltDevicePkg/Include/Guid/OsSelection.h
3e65ae659b1d99a8a7ec395a6ed6f1a0e3412ead
[mirror_edk2.git] / Vlv2TbltDevicePkg / Include / Guid / OsSelection.h
1 /*++
2
3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
4
5 This program and the accompanying materials are licensed and made available under
6 the terms and conditions of the BSD License that accompanies this distribution.
7 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 Module Name:
16
17 OsSelection.h
18
19 Abstract:
20
21 GUID used for LPSS, SCC and LPE configuration data entries in the HOB list.
22
23 --*/
24
25 #ifndef _OS_SELECTION_GUID_H_
26 #define _OS_SELECTION_GUID_H_
27
28 #ifndef ECP_FLAG
29 #include <PiPei.h>
30
31 #include <Library/HobLib.h>
32 #include <Library/IoLib.h>
33 #include <Library/DebugLib.h>
34 #endif
35
36 #define ANDROID 1
37
38 #define EFI_OS_SELECTION_VARIABLE_GUID \
39 { \
40 0x86843f56, 0x675d, 0x40a5, 0x95, 0x30, 0xbc, 0x85, 0x83, 0x72, 0xf1, 0x03 \
41 }
42
43 extern EFI_GUID gOsSelectionVariableGuid;
44
45 #pragma pack(1)
46
47 typedef struct {
48 UINT8 LpssPciModeEnabled;
49 //SCC
50 UINT8 LpsseMMCEnabled;
51 UINT8 LpssSdioEnabled;
52 UINT8 LpssSdcardEnabled;
53 UINT8 LpssSdCardSDR25Enabled;
54 UINT8 LpssSdCardDDR50Enabled;
55 UINT8 LpssMipiHsi;
56 UINT8 LpsseMMC45Enabled;
57 UINT8 LpsseMMC45DDR50Enabled;
58 UINT8 LpsseMMC45HS200Enabled;
59 UINT8 LpsseMMC45RetuneTimerValue;
60 UINT8 eMMCBootMode;
61 //LPSS2
62 UINT8 LpssDma1Enabled;
63 UINT8 LpssI2C0Enabled;
64 UINT8 LpssI2C1Enabled;
65 UINT8 LpssI2C2Enabled;
66 UINT8 LpssI2C3Enabled;
67 UINT8 LpssI2C4Enabled;
68 UINT8 LpssI2C5Enabled;
69 UINT8 LpssI2C6Enabled;
70 //LPSS1
71 UINT8 LpssDma0Enabled;
72 UINT8 LpssPwm0Enabled;
73 UINT8 LpssPwm1Enabled;
74 UINT8 LpssHsuart0Enabled;
75 UINT8 LpssHsuart1Enabled;
76 UINT8 LpssSpiEnabled;
77 UINT8 I2CTouchAd;
78 } EFI_PLATFORM_LPSS_DATA;
79
80 typedef struct _EFI_OS_SELECTION_HOB {
81 UINT8 OsSelection;
82 UINT8 OsSelectionChanged;
83 UINT8 Lpe;
84 UINT8 PchAzalia;
85 EFI_PLATFORM_LPSS_DATA LpssData;
86 } EFI_OS_SELECTION_HOB;
87
88 #pragma pack()
89
90 #endif