Frans Hendriks has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33225 )
Change subject: soc/intel/braswell/smbus.c: Add support for i2c mode block write
......................................................................
Patch Set 9:
(1 comment)
https://review.coreboot.org/#/c/33225/9/src/soc/intel/braswell/smbus.c
File src/soc/intel/braswell/smbus.c:
https://review.coreboot.org/#/c/33225/9/src/soc/intel/braswell/smbus.c@57
PS9, Line 57: status = do_smbus_block_write(smbase, addr, offset, bytes, buf);
You really should not touch any of the SMBUS IO-mapped registers before checking that the host is no […]
I agree that that is not much information Braswell SMBus registers. (The IO mapped registers are not decribed in Intel EDS #547871, only the memory mapped!).
The Fig 14 page 11 is the correct the SMBus controller format. However the SMBus controller uses the registers <SMBXNITADD> <SMBHSTDAT1> <SMBBLKDAT> ... <SMBBLKDAT> to compose this format.
Will verify if mod of PCI registers after check not busy will work.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/33225
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I50c1a03f624b3ab3b987d4f3b1d15dac4374e48a
Gerrit-Change-Number: 33225
Gerrit-PatchSet: 9
Gerrit-Owner: Frans Hendriks
fhendriks@eltan.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Frans Hendriks
fhendriks@eltan.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: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 17 Jun 2019 10:00:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kyösti Mälkki
kyosti.malkki@gmail.com
Comment-In-Reply-To: Felix Held
felix-coreboot@felixheld.de
Comment-In-Reply-To: Frans Hendriks
fhendriks@eltan.com
Gerrit-MessageType: comment