aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/smbus.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-08-20 23:48:23 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-09 12:58:49 +0000
commitc17e855da0ac5fb3d8b22f2a76ea899dfaed4c9e (patch)
treecbd13fbce64a8891c3c53b41c8fc88e63ecfad77 /src/southbridge/intel/common/smbus.h
parent916b331a8dbe90a2810d253a8b286ca9ee804fc5 (diff)
sb/intel/common: Tidy up SMBus block commands
I forgot to push these changes before merging commit 1b04aa2 sb/intel/common: Fix SMBus block commands Change-Id: I7217f8c0cc78f2161faf31a4c49e3e9515026d15 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21115 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/intel/common/smbus.h')
-rw-r--r--src/southbridge/intel/common/smbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/common/smbus.h b/src/southbridge/intel/common/smbus.h
index f2e903c82b..3016a1726f 100644
--- a/src/southbridge/intel/common/smbus.h
+++ b/src/southbridge/intel/common/smbus.h
@@ -37,7 +37,7 @@ int do_smbus_read_byte(unsigned int smbus_base, u8 device,
int do_smbus_write_byte(unsigned int smbus_base, u8 device,
unsigned int address, unsigned int data);
int do_smbus_block_read(unsigned int smbus_base, u8 device,
- u8 cmd, unsigned int bytes, u8 *buf);
+ u8 cmd, unsigned int max_bytes, u8 *buf);
int do_smbus_block_write(unsigned int smbus_base, u8 device,
u8 cmd, unsigned int bytes, const u8 *buf);
/* Only since ICH5 */