1 /** @file 2 * 3 * Copyright (c) 2015, Hisilicon Limited. All rights reserved. 4 * Copyright (c) 2015, Linaro Limited. All rights reserved. 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 #include <PiDxe.h> 17 #include <Library/DebugLib.h> 18 #include <Library/UefiBootServicesTableLib.h> 19 #include <Library/BaseLib.h> 20 21 #include <Library/PlatformSysCtrlLib.h> 22 #include "I2CLibInternal.h" 23 GetI2cBase(UINT32 Socket,UINT8 Port)24UINTN GetI2cBase (UINT32 Socket, UINT8 Port) 25 { 26 return PlatformGetI2cBase(Socket, Port); 27 } 28 29 EFI_STATUS I2cLibRuntimeSetup(UINT32 Socket,UINT8 Port)30I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port) 31 { 32 return EFI_SUCCESS; 33 } 34 35 36