Frans Hendriks has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/30800 )
Change subject: southbridge/intel/common/smbus.c: Add support for i2c block write
......................................................................
Patch Set 17:
(2 comments)
https://review.coreboot.org/#/c/30800/9/src/southbridge/intel/common/smbus.c
File src/southbridge/intel/common/smbus.c:
https://review.coreboot.org/#/c/30800/9/src/southbridge/intel/common/smbus.c...
PS9, Line 453: outb(cmd, smbus_base + SMBHSTDAT1);
You mean a 16-bit address? but where is the lower part?
First byte of the block_cmd_loop() is the lower part.
In the I2C mode the controller sends out the value in SMBHSTDAT1, when a command is init.
https://review.coreboot.org/#/c/30800/17/src/southbridge/intel/common/smbus....
File src/southbridge/intel/common/smbus.c:
https://review.coreboot.org/#/c/30800/17/src/southbridge/intel/common/smbus....
PS17, Line 424: I801_BLOCK_DATA
This is not the I2C command. I wonder now what is the difference […]
The do_smbus_block_write() does not check for i2c support and does not write the cmd to SMBHSTDAT1 register.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/30800
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I40f8c0f5257a62398189f36892b8159052481693
Gerrit-Change-Number: 30800
Gerrit-PatchSet: 17
Gerrit-Owner: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Philipp Deppenwiese
zaolin.daisuki@gmail.com
Gerrit-Reviewer: Piotr Król
piotr.krol@3mdeb.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Wed, 05 Jun 2019 14:06:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kyösti Mälkki
kyosti.malkki@gmail.com
Comment-In-Reply-To: Frans Hendriks
fhendriks@eltan.com
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Gerrit-MessageType: comment