summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-05-08 07:30:45 +0000
committerniruiyu <niruiyu@Edk2>2015-05-08 07:30:45 +0000
commit1d956501fe94a3661e501c6fa1d699f442cf4c79 (patch)
tree956f79ae8d67ec49948d9d64d2202b481e371194 /MdePkg
parentc3afcf3a36d0aa9433ded54bae82fa26a4e4bceb (diff)
downloadedk2-platforms-1d956501fe94a3661e501c6fa1d699f442cf4c79.tar.xz
MdePkg, MdeModulePkg: Remove EFI_ABORTED from I2C protocols per 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@17368 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Protocol/I2cHost.h10
-rw-r--r--MdePkg/Include/Protocol/I2cIo.h4
2 files changed, 2 insertions, 12 deletions
diff --git a/MdePkg/Include/Protocol/I2cHost.h b/MdePkg/Include/Protocol/I2cHost.h
index 12e77a4cce..df04aeb798 100644
--- a/MdePkg/Include/Protocol/I2cHost.h
+++ b/MdePkg/Include/Protocol/I2cHost.h
@@ -4,7 +4,7 @@
This protocol provides callers with the ability to do I/O transactions
to all of the devices on the I2C bus.
- Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -72,12 +72,6 @@ typedef struct _EFI_I2C_HOST_PROTOCOL EFI_I2C_HOST_PROTOCOL;
the I2C host protocol calls the I2C master protocol to start the
I2C transaction.
- If the I2C host protocol has pending I2C transactions queued when
- the driver binding Stop() routine is called then the I2C host
- protocol completes all of the pending I2C transactions by returning
- EFI_ABORTED status. This notifies the upper layers allowing them
- to take corrective action or prepare to stop.
-
When Event is NULL, QueueRequest() operates synchronously and
returns the I2C completion status as its return value.
@@ -107,8 +101,6 @@ typedef struct _EFI_I2C_HOST_PROTOCOL EFI_I2C_HOST_PROTOCOL;
queued when Event is not NULL.
@retval EFI_SUCCESS The transaction completed successfully when
Event is NULL.
- @retval EFI_ABORTED The request did not complete because the
- driver binding Stop() routine was called.
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is
too large.
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the
diff --git a/MdePkg/Include/Protocol/I2cIo.h b/MdePkg/Include/Protocol/I2cIo.h
index 228f7bf4a0..1e01d7ce87 100644
--- a/MdePkg/Include/Protocol/I2cIo.h
+++ b/MdePkg/Include/Protocol/I2cIo.h
@@ -4,7 +4,7 @@
The EFI I2C I/O protocol enables the user to manipulate a single
I2C device independent of the host controller and I2C design.
- Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -100,8 +100,6 @@ typedef struct _EFI_I2C_IO_PROTOCOL EFI_I2C_IO_PROTOCOL;
queued when Event is not NULL.
@retval EFI_SUCCESS The transaction completed successfully when
Event is NULL.
- @retval EFI_ABORTED The request did not complete because the driver
- binding Stop() routine was called.
@retval EFI_BAD_BUFFER_SIZE The RequestPacket->LengthInBytes value is too
large.
@retval EFI_DEVICE_ERROR There was an I2C error (NACK) during the