southbridge/via: Remove trailing whitespace
Change-Id: I28deda21a7070ea6f14f973b66fd5dd119bc6225 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: http://review.coreboot.org/6345 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
f4d1d3b986
commit
b7ea95fa8e
|
@ -1,18 +1,18 @@
|
||||||
#define SMBUS_IO_BASE 0xf00
|
#define SMBUS_IO_BASE 0xf00
|
||||||
|
|
||||||
#define SMBHSTSTAT 0x0
|
#define SMBHSTSTAT 0x0
|
||||||
#define SMBSLVSTAT 0x1
|
#define SMBSLVSTAT 0x1
|
||||||
#define SMBHSTCTL 0x2
|
#define SMBHSTCTL 0x2
|
||||||
#define SMBHSTCMD 0x3
|
#define SMBHSTCMD 0x3
|
||||||
#define SMBXMITADD 0x4
|
#define SMBXMITADD 0x4
|
||||||
#define SMBHSTDAT0 0x5
|
#define SMBHSTDAT0 0x5
|
||||||
#define SMBHSTDAT1 0x6
|
#define SMBHSTDAT1 0x6
|
||||||
#define SMBBLKDAT 0x7
|
#define SMBBLKDAT 0x7
|
||||||
#define SMBSLVCTL 0x8
|
#define SMBSLVCTL 0x8
|
||||||
#define SMBTRNSADD 0x9
|
#define SMBTRNSADD 0x9
|
||||||
#define SMBSLVDATA 0xa
|
#define SMBSLVDATA 0xa
|
||||||
#define SMLINK_PIN_CTL 0xe
|
#define SMLINK_PIN_CTL 0xe
|
||||||
#define SMBUS_PIN_CTL 0xf
|
#define SMBUS_PIN_CTL 0xf
|
||||||
|
|
||||||
/* Define register settings */
|
/* Define register settings */
|
||||||
#define HOST_RESET 0xff
|
#define HOST_RESET 0xff
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
#define SMBUS_TIMEOUT (100*1000*10)
|
#define SMBUS_TIMEOUT (100*1000*10)
|
||||||
|
|
||||||
#define I2C_TRANS_CMD 0x40
|
#define I2C_TRANS_CMD 0x40
|
||||||
#define CLOCK_SLAVE_ADDRESS 0x69
|
#define CLOCK_SLAVE_ADDRESS 0x69
|
||||||
|
|
||||||
static void enable_smbus(void)
|
static void enable_smbus(void)
|
||||||
{
|
{
|
||||||
|
@ -244,5 +244,4 @@ int smbus_read_byte(unsigned device, unsigned address, unsigned char *result)
|
||||||
return host_status_register != 0x02;
|
return host_status_register != 0x02;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue