]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430I2c.h
edk2: Remove packages moved to edk2-platforms
[mirror_edk2.git] / OptionRomPkg / CirrusLogic5430Dxe / CirrusLogic5430I2c.h
diff --git a/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430I2c.h b/OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430I2c.h
deleted file mode 100644 (file)
index 505575c..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/** @file\r
-  I2c Bus byte read/write functions.\r
-\r
-  Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>\r
-  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#ifndef _CIRRUS_LOGIC_I2C_H_\r
-#define _CIRRUS_LOGIC_I2C_H_\r
-\r
-#include <Protocol/PciIo.h>\r
-\r
-/**\r
-  Read one byte data on I2C Bus.\r
-\r
-  Read one byte data from the slave device connectet to I2C Bus.\r
-  If Data is NULL, then ASSERT().\r
-\r
-  @param  PciIo              The pointer to PCI_IO_PROTOCOL.\r
-  @param  DeviceAddress      Slave device's address.\r
-  @param  RegisterAddress    The register address on slave device.\r
-  @param  Data               The pointer to returned data if EFI_SUCCESS returned.\r
-\r
-  @retval EFI_DEVICE_ERROR\r
-  @retval EFI_SUCCESS\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-I2cReadByte (\r
-  EFI_PCI_IO_PROTOCOL    *PciIo,\r
-  UINT8                  DeviceAddress,\r
-  UINT8                  RegisterAddress,\r
-  UINT8                  *Data\r
-  );\r
-\r
-/**\r
-  Write one byte data onto I2C Bus.\r
-\r
-  Write one byte data to the slave device connectet to I2C Bus.\r
-  If Data is NULL, then ASSERT().\r
-\r
-  @param  PciIo              The pointer to PCI_IO_PROTOCOL.\r
-  @param  DeviceAddress      Slave device's address.\r
-  @param  RegisterAddress    The register address on slave device.\r
-  @param  Data               The pointer to write data.\r
-\r
-  @retval EFI_DEVICE_ERROR\r
-  @retval EFI_SUCCESS\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-I2cWriteByte (\r
-  EFI_PCI_IO_PROTOCOL    *PciIo,\r
-  UINT8                  DeviceAddress,\r
-  UINT8                  RegisterAddress,\r
-  UINT8                  *Data\r
-  );\r
-\r
-#endif\r