Attention is currently required from: Arthur Heymans, Caveh Jalali, Cliff Huang, Felix Singer, Julius Werner, Matt DeVillier, Yidi Lin, Yu-Ping Wu.
Martin L Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/77098?usp=email )
Change subject: treewide: Change I2C/SMBUS master/slave to controller/target
......................................................................
Patch Set 4:
(3 comments)
File src/southbridge/amd/pi/hudson/smbus_spd.c:
https://review.coreboot.org/c/coreboot/+/77098/comment/01b6061e_071efb86 :
PS3, Line 87: static int readspd(int iobase, int SmbusSlaveAddress, char *buffer, int count)
: {
: int index, error;
:
: printk(BIOS_SPEW, "-------------READING SPD-----------\n");
: printk(BIOS_SPEW, "iobase: 0x%08X, SmbusSlave: 0x%08X, count: %d\n",
: iobase, SmbusSlaveAddress, count);
:
: /* read the first byte using offset zero */
: error = readSmbusByteData(iobase, SmbusSlaveAddress, buffer, 0);
:
: if (error) {
: printk(BIOS_ERR, "-------------SPD READ ERROR-----------\n");
: return error;
: }
:
: /* read the remaining bytes using auto-increment for speed */
: for (index = 1; index < count; index++)
: {
: error = readSmbusByte(iobase, SmbusSlaveAddress, &buffer [index]);
: if (error) {
: printk(BIOS_ERR, "-------------SPD READ ERROR-----------\n");
: return error;
: }
: }
: printk(BIOS_SPEW, "\n");
: printk(BIOS_SPEW, "-------------FINISHED READING SPD-----------\n");
:
: return 0;
: }
change `SmbusSlave*` to `SmbusTarget*` ?
Done
File src/southbridge/intel/bd82x6x/smbus.c:
https://review.coreboot.org/c/coreboot/+/77098/comment/defb3bde_9cf319dd :
PS3, Line 20: Slave
Change to `Target` ?
Done
https://review.coreboot.org/c/coreboot/+/77098/comment/daf35a60_c903f29d :
PS3, Line 23: SMBUS_SLAVE_ADDR
Change to `SMBUS_TARGET_ADDR` ?
This is from the chips' #define. I was asked not to update chip defines. Those should be changed only when the datasheet for the chip has been updated.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/77098?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I6c141fa4322de9e9ed208589f591560fed609825
Gerrit-Change-Number: 77098
Gerrit-PatchSet: 4
Gerrit-Owner: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Reviewer: Caveh Jalali
caveh@chromium.org
Gerrit-Reviewer: Christian Walter
christian.walter@9elements.com
Gerrit-Reviewer: Cliff Huang
cliff.huang@intel.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Felix Singer
service+coreboot-gerrit@felixsinger.de
Gerrit-Reviewer: Forest Mittelberg
bmbm@google.com
Gerrit-Reviewer: Fred Reitberger
reitbergerfred@gmail.com
Gerrit-Reviewer: Hung-Te Lin
hungte@chromium.org
Gerrit-Reviewer: Jakub Czapiga
czapiga@google.com
Gerrit-Reviewer: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Reviewer: Jeff Daly
jeffd@silicom-usa.com
Gerrit-Reviewer: Johnny Lin
Johnny_Lin@wiwynn.com
Gerrit-Reviewer: Jonathan Zhang
jon.zhixiong.zhang@gmail.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Lance Zhao
lance.zhao@gmail.com
Gerrit-Reviewer: Matt DeVillier
matt.devillier@amd.corp-partner.google.com
Gerrit-Reviewer: Matt DeVillier
matt.devillier@gmail.com
Gerrit-Reviewer: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Sean Rhodes
sean@starlabs.systems
Gerrit-Reviewer: Tim Chu
Tim.Chu@quantatw.com
Gerrit-Reviewer: Tim Wawrzynczak
inforichland@gmail.com
Gerrit-Reviewer: Vanessa Eusebio
vanessa.f.eusebio@intel.com
Gerrit-Reviewer: Xi Chen
xixi.chen@mediatek.com
Gerrit-Reviewer: Yidi Lin
yidilin@google.com
Gerrit-Reviewer: Yu-Ping Wu
yupingso@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Attention: Felix Singer
service+coreboot-gerrit@felixsinger.de
Gerrit-Attention: Cliff Huang
cliff.huang@intel.com
Gerrit-Attention: Caveh Jalali
caveh@chromium.org
Gerrit-Attention: Matt DeVillier
matt.devillier@gmail.com
Gerrit-Attention: Julius Werner
jwerner@chromium.org
Gerrit-Attention: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Yidi Lin
yidilin@google.com
Gerrit-Attention: Yu-Ping Wu
yupingso@google.com
Gerrit-Comment-Date: Thu, 29 Feb 2024 23:11:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Yidi Lin
yidilin@google.com
Gerrit-MessageType: comment