summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/quartet/auto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/quartet/auto.c')
-rw-r--r--src/mainboard/amd/quartet/auto.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/amd/quartet/auto.c b/src/mainboard/amd/quartet/auto.c
index 31a653d982..23951738c6 100644
--- a/src/mainboard/amd/quartet/auto.c
+++ b/src/mainboard/amd/quartet/auto.c
@@ -99,9 +99,10 @@ static inline int spd_read_byte(unsigned device, unsigned address)
unsigned hub = device >> 8;
device &= 0xff;
- // smbus_write_byte(SMBUS_HUB, hub);
+ smbus_write_byte(SMBUS_HUB, 0x01, 1<<hub);
+ smbus_write_byte(SMBUS_HUB, 0x03, 0);
+
return smbus_read_byte(device, address);
-
}
/* no specific code here. this should go away completely */