summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Library/SmbusLib.h
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-14 02:56:39 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-14 02:56:39 +0000
commite60d361d944b58db78a7ad31d620fc16a4e8e096 (patch)
treef904bf6c97ded4cf2a6084acb9fa6ee236af1660 /MdePkg/Include/Library/SmbusLib.h
parent44717a398fddc4df1f4aeaa70bcd7a043187ed34 (diff)
downloadedk2-platforms-e60d361d944b58db78a7ad31d620fc16a4e8e096.tar.xz
Use BIT22 instead of SMBUS_LIB_PEC_BIT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6108 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Library/SmbusLib.h')
-rw-r--r--MdePkg/Include/Library/SmbusLib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/SmbusLib.h b/MdePkg/Include/Library/SmbusLib.h
index 17b81b6f19..d766b297ac 100644
--- a/MdePkg/Include/Library/SmbusLib.h
+++ b/MdePkg/Include/Library/SmbusLib.h
@@ -30,7 +30,7 @@
**/
#define SMBUS_LIB_ADDRESS(SlaveAddress,Command,Length,Pec) \
- ( ((Pec) ? SMBUS_LIB_PEC_BIT: 0) | \
+ ( ((Pec) ? BIT22: 0) | \
(((SlaveAddress) & 0x7f) << 1) | \
(((Command) & 0xff) << 8) | \
(((Length) & 0x3f) << 16) \