summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2003-11-04 16:31:29 +0000
committerStefan Reinauer <stepan@openbios.org>2003-11-04 16:31:29 +0000
commit433ae3fb4eb9ea8b371bac5df03357ee70a12ee4 (patch)
treeaa4977c6f169f77fee35f6e5a79f7aaf57ef14c4 /src/mainboard/amd
parent978c16fb7077e5aaf2c138cdade21df43a7aaa06 (diff)
downloadcoreboot-433ae3fb4eb9ea8b371bac5df03357ee70a12ee4.tar.xz
fix stupid stepan's bugs
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1254 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/quartet/auto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/amd/quartet/auto.c b/src/mainboard/amd/quartet/auto.c
index 1f158d967a..788969deaa 100644
--- a/src/mainboard/amd/quartet/auto.c
+++ b/src/mainboard/amd/quartet/auto.c
@@ -105,8 +105,8 @@ static inline void activate_spd_rom(const struct mem_controller *ctrl)
{
#define SMBUS_HUB 0x30
unsigned device=(ctrl->channel0[0])>>8;
- smbus_write_byte(SMBUS_HUB | (0x01<<8), device);
- smbus_write_byte(SMBUS_HUB | (0x03<<8), 0);
+ smbus_write_byte(SMBUS_HUB , 0x01, device);
+ smbus_write_byte(SMBUS_HUB , 0x03, 0);
}
static inline int spd_read_byte(unsigned device, unsigned address)