summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/I2c
diff options
context:
space:
mode:
authorZeng, Star <star.zeng@intel.com>2014-08-28 06:34:06 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-28 06:34:06 +0000
commit6036e94dc9402827130875258e99e486e82e7904 (patch)
tree41eaba32a2685b0a2e96ce52398a06f6e6143fb6 /MdeModulePkg/Bus/I2c
parentf7acc872414700af99ad2ab6b5b3140615bc255a (diff)
downloadedk2-platforms-6036e94dc9402827130875258e99e486e82e7904.tar.xz
MdeModulePkg: INF/DEC file updates to EDK II packages
1. Usage information in INF file comment blocks are either incomplete or incorrect. This includes usage information for Protocols/PPIs/GUIDs/PCDs/HOBs/Events/BootModes. The syntax for usage information in comment blocks is defined in the EDK II Module Information (INF) Specification Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zeng, Star <star.zeng@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15962 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/I2c')
-rw-r--r--MdeModulePkg/Bus/I2c/I2cDxe/I2cBusDxe.inf16
-rw-r--r--MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf17
-rw-r--r--MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf10
3 files changed, 30 insertions, 13 deletions
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cBusDxe.inf b/MdeModulePkg/Bus/I2c/I2cDxe/I2cBusDxe.inf
index 12b42ab417..4dbe2f5e68 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cBusDxe.inf
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cBusDxe.inf
@@ -1,8 +1,7 @@
## @file
-# This driver enumerates I2C devices on I2C bus and produce I2C
-# IO Protocol on I2C devices.
+# This driver enumerates I2C devices on I2C bus and produce I2C IO Protocol on I2C devices.
#
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2013 - 2014, 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
@@ -17,6 +16,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = I2cBusDxe
+ MODULE_UNI_FILE = I2cBusDxe.uni
FILE_GUID = 0C34B372-2622-4A13-A46E-BFD0DEB48BFF
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
@@ -47,8 +47,12 @@
[Protocols]
gEfiI2cIoProtocolGuid ## BY_START
- gEfiI2cHostProtocolGuid ## BY_START
- gEfiI2cMasterProtocolGuid ## TO_START
+ ## BY_START
+ ## TO_START
+ gEfiDevicePathProtocolGuid
gEfiI2cEnumerateProtocolGuid ## TO_START
- gEfiI2cBusConfigurationManagementProtocolGuid ## TO_START
gEfiI2cHostProtocolGuid ## TO_START
+
+[UserExtensions.TianoCore."ExtraFiles"]
+ I2cBusDxeExtra.uni
+
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf b/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf
index 8600531a94..5cd53b2fc4 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cDxe.inf
@@ -1,8 +1,10 @@
## @file
+# I2c Dxe driver includes both I2c Bus and Host functionality.
+#
# This driver produce I2C Host Protocol on I2C controller handle, enumerate I2C
# devices on I2C bus and produce I2C IO Protocol on I2C devices.
#
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2013 - 2014, 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
@@ -17,6 +19,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = I2cDxe
+ MODULE_UNI_FILE = I2cDxe.uni
FILE_GUID = ECA2AE9E-7594-4901-871C-449DA1A11660
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
@@ -49,8 +52,16 @@
[Protocols]
gEfiI2cIoProtocolGuid ## BY_START
- gEfiI2cHostProtocolGuid ## BY_START
+ ## BY_START
+ ## TO_START
+ gEfiI2cHostProtocolGuid
+ ## BY_START
+ ## TO_START
+ gEfiDevicePathProtocolGuid
gEfiI2cMasterProtocolGuid ## TO_START
gEfiI2cEnumerateProtocolGuid ## TO_START
gEfiI2cBusConfigurationManagementProtocolGuid ## TO_START
- gEfiI2cHostProtocolGuid ## TO_START
+
+[UserExtensions.TianoCore."ExtraFiles"]
+ I2cDxeExtra.uni
+
diff --git a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf
index ebd9fcac4b..2fb1085c6d 100644
--- a/MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf
+++ b/MdeModulePkg/Bus/I2c/I2cDxe/I2cHostDxe.inf
@@ -1,7 +1,7 @@
## @file
# This driver produce I2C Host Protocol on I2C controller handle.
#
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2013 - 2014, 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
@@ -16,6 +16,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = I2cHostDxe
+ MODULE_UNI_FILE = I2cHostDxe.uni
FILE_GUID = CDEC3671-816E-43DC-A002-DCD645229338
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
@@ -45,9 +46,10 @@
MdePkg/MdePkg.dec
[Protocols]
- gEfiI2cIoProtocolGuid ## BY_START
gEfiI2cHostProtocolGuid ## BY_START
gEfiI2cMasterProtocolGuid ## TO_START
- gEfiI2cEnumerateProtocolGuid ## TO_START
gEfiI2cBusConfigurationManagementProtocolGuid ## TO_START
- gEfiI2cHostProtocolGuid ## TO_START
+
+[UserExtensions.TianoCore."ExtraFiles"]
+ I2cHostDxeExtra.uni
+