projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
978c16f
)
fix stupid stepan's bugs
author
Stefan Reinauer
<stepan@openbios.org>
Tue, 4 Nov 2003 16:31:29 +0000
(16:31 +0000)
committer
Stefan Reinauer
<stepan@openbios.org>
Tue, 4 Nov 2003 16:31:29 +0000
(16:31 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1254
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
src/mainboard/amd/quartet/auto.c
patch
|
blob
|
history
diff --git
a/src/mainboard/amd/quartet/auto.c
b/src/mainboard/amd/quartet/auto.c
index 1f158d967a2b27ba32113bc8e8e2a4617ae59fa2..788969deaa8b8138db566652c6717e3647ca8a4b 100644
(file)
--- 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)