MdePkg, MdeModulePkg: Remove EFI_NOT_FOUND from I2C IO protocol
authorRuiyu Ni <ruiyu.ni@intel.com>
Fri, 8 May 2015 07:30:03 +0000 (07:30 +0000)
committerniruiyu <niruiyu@Edk2>
Fri, 8 May 2015 07:30:03 +0000 (07:30 +0000)
It's to follow the PI spec 1.4.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jie Lin <jie.lin@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17367 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/I2c/I2cDxe/I2cBus.c
MdePkg/Include/Protocol/I2cIo.h

index c9913c0..c1634c9 100644 (file)
@@ -1115,7 +1115,6 @@ RegisterI2cDevice (
   @retval EFI_DEVICE_ERROR      There was an I2C error (NACK) during the\r
                                 transaction.\r
   @retval EFI_INVALID_PARAMETER RequestPacket is NULL\r
-  @retval EFI_NOT_FOUND         Reserved bit set in the SlaveAddress parameter\r
   @retval EFI_NO_MAPPING        The EFI_I2C_HOST_PROTOCOL could not set the\r
                                 bus configuration required to access this I2C\r
                                 device.\r
index 3627d0d..228f7bf 100644 (file)
@@ -106,8 +106,7 @@ typedef struct _EFI_I2C_IO_PROTOCOL  EFI_I2C_IO_PROTOCOL;
                                 large.\r
   @retval EFI_DEVICE_ERROR      There was an I2C error (NACK) during the\r
                                 transaction.\r
-  @retval EFI_INVALID_PARAMETER RequestPacket is NULL\r
-  @retval EFI_NOT_FOUND         Reserved bit set in the SlaveAddress parameter\r
+  @retval EFI_INVALID_PARAMETER RequestPacket is NULL.\r
   @retval EFI_NO_MAPPING        The EFI_I2C_HOST_PROTOCOL could not set the\r
                                 bus configuration required to access this I2C\r
                                 device.\r