]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r\r | |
5 | This program and the accompanying materials are licensed and made available under\r\r | |
6 | the terms and conditions of the BSD License that accompanies this distribution. \r\r | |
7 | The full text of the license may be found at \r\r | |
8 | http://opensource.org/licenses/bsd-license.php. \r\r | |
9 | \r\r | |
10 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r\r | |
11 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r\r | |
12 | \r\r | |
13 | \r | |
14 | \r | |
15 | Module Name:\r | |
16 | \r | |
17 | I2CLib.c\r | |
18 | \r | |
19 | \r | |
20 | \r | |
21 | --*/\r | |
22 | #ifdef ECP_FLAG\r | |
23 | #include "EdkIIGlueDxe.h"\r | |
24 | #else\r | |
25 | #include <Library/DebugLib.h>\r | |
26 | #include <Library/TimerLib.h>\r | |
27 | #endif\r | |
28 | #include <PchRegs/PchRegsPcu.h>\r | |
29 | #include <PchRegs.h>\r | |
30 | #include <PlatformBaseAddresses.h>\r | |
31 | #include <PchRegs/PchRegsLpss.h>\r | |
32 | #ifdef ECP_FLAG\r | |
33 | #include "I2CLib.h"\r | |
34 | #else\r | |
35 | #include <Library/I2CLib.h>\r | |
36 | #endif\r | |
37 | #include <Protocol/GlobalNvsArea.h>\r | |
38 | #ifndef ECP_FLAG\r | |
39 | #include <Library/UefiBootServicesTableLib.h>\r | |
40 | #endif\r | |
41 | \r | |
42 | EFI_STATUS ByteReadI2C(\r | |
43 | IN UINT8 BusNo,\r | |
44 | IN UINT8 SlaveAddress,\r | |
45 | IN UINT8 Offset,\r | |
46 | IN UINTN ReadBytes,\r | |
47 | OUT UINT8 *ReadBuffer\r | |
48 | )\r | |
49 | {\r | |
50 | return EFI_SUCCESS;\r | |
51 | }\r |