projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This patch re-implements support for the CS5536 companion chip for the
[coreboot.git]
/
src
/
southbridge
/
amd
/
cs5536
/
cs5536_smbus2.h
diff --git
a/src/southbridge/amd/cs5536/cs5536_smbus2.h
b/src/southbridge/amd/cs5536/cs5536_smbus2.h
index 3f5dad002ec09994ff6c907b9866e74fb009b782..cb4a1e731dbed1f6029f0ae4970fe47730b5e775 100644
(file)
--- a/
src/southbridge/amd/cs5536/cs5536_smbus2.h
+++ b/
src/southbridge/amd/cs5536/cs5536_smbus2.h
@@
-43,11
+43,10
@@
#define SMBUS_TIMEOUT (100*1000*10)
#define SMBUS_STATUS_MASK 0xfbff
-#define SMBUS_IO_BASE 0x6000
static void smbus_delay(void)
{
-
outb(0x80,
0x80);
+
inb(
0x80);
}
static int smbus_wait(unsigned smbus_io_base) {