]>
Commit | Line | Data |
---|---|---|
3cbfba02 DW |
1 | /*++\r |
2 | \r | |
3 | Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r | |
4 | \r\r | |
9dc8036d MK |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
6 | \r | |
3cbfba02 DW |
7 | \r\r |
8 | \r | |
9 | \r | |
10 | Module Name:\r | |
11 | \r | |
12 | I2CLib.c\r | |
13 | \r | |
14 | \r | |
15 | \r | |
16 | --*/\r | |
17 | #ifdef ECP_FLAG\r | |
18 | #include "EdkIIGlueDxe.h"\r | |
19 | #else\r | |
20 | #include <Library/DebugLib.h>\r | |
21 | #include <Library/TimerLib.h>\r | |
22 | #endif\r | |
23 | #include <PchRegs/PchRegsPcu.h>\r | |
24 | #include <PchRegs.h>\r | |
25 | #include <PlatformBaseAddresses.h>\r | |
26 | #include <PchRegs/PchRegsLpss.h>\r | |
27 | #ifdef ECP_FLAG\r | |
28 | #include "I2CLib.h"\r | |
29 | #else\r | |
30 | #include <Library/I2CLib.h>\r | |
31 | #endif\r | |
32 | #include <Protocol/GlobalNvsArea.h>\r | |
33 | #ifndef ECP_FLAG\r | |
34 | #include <Library/UefiBootServicesTableLib.h>\r | |
35 | #endif\r | |
36 | \r | |
37 | EFI_STATUS ByteReadI2C(\r | |
38 | IN UINT8 BusNo,\r | |
39 | IN UINT8 SlaveAddress,\r | |
40 | IN UINT8 Offset,\r | |
41 | IN UINTN ReadBytes,\r | |
42 | OUT UINT8 *ReadBuffer\r | |
43 | )\r | |
44 | {\r | |
45 | return EFI_SUCCESS;\r | |
46 | }\r |