X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Vlv2TbltDevicePkg%2FInclude%2FProtocol%2FI2cAcpi.h;fp=Vlv2TbltDevicePkg%2FInclude%2FProtocol%2FI2cAcpi.h;h=0000000000000000000000000000000000000000;hp=9ec5e1473b046569ba3f5063b20cad5b46192289;hb=5347c48016f27061475fdb053e867a06ce73492f;hpb=96ef5a8e30a8da33eaab09f13cc8d752342717a5
diff --git a/Vlv2TbltDevicePkg/Include/Protocol/I2cAcpi.h b/Vlv2TbltDevicePkg/Include/Protocol/I2cAcpi.h
deleted file mode 100644
index 9ec5e1473b..0000000000
--- a/Vlv2TbltDevicePkg/Include/Protocol/I2cAcpi.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/*++
-
- Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.
-
- SPDX-License-Identifier: BSD-2-Clause-Patent
-
-
-
-
-**/
-
-#ifndef __I2C_ACPI_H__
-#define __I2C_ACPI_H__
-
-#include
-
-//
-// I2C ACPI protocol
-//
-typedef struct _EFI_I2C_ACPI_PROTOCOL EFI_I2C_ACPI_PROTOCOL;
-
-//
-// I2C device description
-//
-// This structure provides the platform specific information which
-// describes an I2C device.
-//
-typedef struct {
- //
- // Hardware revision - ACPI _HRV value
- //
- UINT32 HardwareRevision;
-
- //
- // Device path node for the I2C device.
- //
- CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath;
-
- //
- // I2C bus configuration for the I2C device.
- //
- UINT32 I2cBusConfiguration;
-
- //
- // Number of slave addresses for the I2C device.
- //
- UINT32 SlaveAddressCount;
-
- //
- // Address of the array of slave addresses for the I2C device.
- //
- CONST UINT32 *SlaveAddressArray;
-}EFI_I2C_DEVICE;
-
-
-/**
- Enumerate the I2C devices
-
- This routine must be called at or below TPL_NOTIFY.
-
- This function walks the platform specific data to enumerates the
- I2C devices on an I2C bus.
-
- @param[in] This Address of an EFI_I2C_ENUM_PROTOCOL
- structure.
- @param[in, out] Device Buffer containing the address of an
- EFI_I2C_DEVICE structure. Enumeration
- is started by setting the initial
- EFI_I2C_DEVICE structure address to NULL.
- The buffer receives an EFI_I2C_DEVICE
- structure address for the next I2C device.
-
- @retval EFI_SUCCESS The platform data for the next device
- on the I2C bus was returned successfully.
- @retval EFI_INVALID_PARAMETER NextDevice was NULL
- @retval EFI_NO_MAPPING PreviousDevice does not point to a valid
- EFI_I2C_DEVICE structure.
-
-**/
-typedef
-EFI_STATUS
-(EFIAPI *EFI_I2C_ACPI_ENUMERATE) (
- IN CONST EFI_I2C_ACPI_PROTOCOL *This,
- IN OUT CONST EFI_I2C_DEVICE **Device
- );
-
-//
-// I2C device description
-//
-// This structure provides the platform specific information which
-// describes an I2C device.
-//
-struct _EFI_I2C_ACPI_PROTOCOL {
- //
- // Walk the platform's list of I2C devices on the bus. This
- // routine returns the next I2C device in the platform's list
- // for this I2C bus.
- //
- EFI_I2C_ACPI_ENUMERATE Enumerate;
-};
-
-//
-// Variable containing the GUID for the I2C device enumeration protocol
-//
-extern EFI_GUID gEfiI2cAcpiProtocolGuid;
-
-#endif // __I2C_ACPI_H__