Fix some typos.
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: svn://coreboot.org/repository/coreboot-v3@728 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
71d814fac6
commit
df4565d288
2 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@
|
|||
static inline void smbus_delay(void)
|
||||
{
|
||||
/* let's hope this is not optimized out */
|
||||
(void) intb(0x80);
|
||||
(void) inb(0x80);
|
||||
}
|
||||
|
||||
static int smbus_wait_until_ready(u16 smbus_io_base)
|
||||
|
|
@ -74,7 +74,7 @@ static int smbus_wait_until_done(u16 smbus_io_base)
|
|||
return -3;
|
||||
}
|
||||
|
||||
static int do_smbus_recv_byte(u16 smbus_io_base, unsigned u8)
|
||||
static int do_smbus_recv_byte(u16 smbus_io_base, u8 device)
|
||||
{
|
||||
u8 global_status_register;
|
||||
u8 byte;
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ static u8 smbus_read_byte(u8 device, u8 address)
|
|||
return do_smbus_read_byte(SMBUS0_IO_BASE, device, address);
|
||||
}
|
||||
|
||||
static u8 smbus_write_byte(u8 device, u8 address, u8 char val)
|
||||
static u8 smbus_write_byte(u8 device, u8 address, u8 val)
|
||||
{
|
||||
return do_smbus_write_byte(SMBUS0_IO_BASE, device, address, val);
|
||||
}
|
||||
|
|
@ -82,7 +82,7 @@ static u8 smbusx_recv_byte(u8 smb_index, u8 device)
|
|||
return do_smbus_recv_byte(SMBUS0_IO_BASE + (smb_index<<8), device);
|
||||
}
|
||||
|
||||
static u8 smbusx_send_byte(u8 smb_index, u8 device, u8 char val)
|
||||
static u8 smbusx_send_byte(u8 smb_index, u8 device, u8 val)
|
||||
{
|
||||
return do_smbus_send_byte(SMBUS0_IO_BASE + (smb_index<<8), device, val);
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ static u8 smbusx_read_byte(u8 smb_index, u8 device, u8 address)
|
|||
return do_smbus_read_byte(SMBUS0_IO_BASE + (smb_index<<8), device, address);
|
||||
}
|
||||
|
||||
static u8 smbusx_write_byte(u8 smb_index, u8 device, u8 address, u8 char val)
|
||||
static u8 smbusx_write_byte(u8 smb_index, u8 device, u8 address, u8 val)
|
||||
{
|
||||
return do_smbus_write_byte(SMBUS0_IO_BASE + (smb_index<<8), device, address, val);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue