From b7ea95fa8ecf232bc22f8898cabf3f86eb75cf2c Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Tue, 22 Jul 2014 23:33:40 +0200 Subject: [PATCH] southbridge/via: Remove trailing whitespace Change-Id: I28deda21a7070ea6f14f973b66fd5dd119bc6225 Signed-off-by: Elyes HAOUAS Reviewed-on: http://review.coreboot.org/6345 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/southbridge/via/vt8235/early_smbus.c | 33 ++++++++++++------------ 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/src/southbridge/via/vt8235/early_smbus.c b/src/southbridge/via/vt8235/early_smbus.c index 96da2fab59..c346b81f6a 100644 --- a/src/southbridge/via/vt8235/early_smbus.c +++ b/src/southbridge/via/vt8235/early_smbus.c @@ -1,18 +1,18 @@ -#define SMBUS_IO_BASE 0xf00 +#define SMBUS_IO_BASE 0xf00 -#define SMBHSTSTAT 0x0 -#define SMBSLVSTAT 0x1 -#define SMBHSTCTL 0x2 -#define SMBHSTCMD 0x3 -#define SMBXMITADD 0x4 -#define SMBHSTDAT0 0x5 -#define SMBHSTDAT1 0x6 -#define SMBBLKDAT 0x7 -#define SMBSLVCTL 0x8 -#define SMBTRNSADD 0x9 -#define SMBSLVDATA 0xa -#define SMLINK_PIN_CTL 0xe -#define SMBUS_PIN_CTL 0xf +#define SMBHSTSTAT 0x0 +#define SMBSLVSTAT 0x1 +#define SMBHSTCTL 0x2 +#define SMBHSTCMD 0x3 +#define SMBXMITADD 0x4 +#define SMBHSTDAT0 0x5 +#define SMBHSTDAT1 0x6 +#define SMBBLKDAT 0x7 +#define SMBSLVCTL 0x8 +#define SMBTRNSADD 0x9 +#define SMBSLVDATA 0xa +#define SMLINK_PIN_CTL 0xe +#define SMBUS_PIN_CTL 0xf /* Define register settings */ #define HOST_RESET 0xff @@ -21,8 +21,8 @@ #define SMBUS_TIMEOUT (100*1000*10) -#define I2C_TRANS_CMD 0x40 -#define CLOCK_SLAVE_ADDRESS 0x69 +#define I2C_TRANS_CMD 0x40 +#define CLOCK_SLAVE_ADDRESS 0x69 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; } - #endif