fix stupid stepan's bugs

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1254 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2003-11-04 16:31:29 +00:00
parent 978c16fb70
commit 433ae3fb4e
1 changed files with 2 additions and 2 deletions

View File

@ -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)