[coreboot-gerrit] Change in coreboot[master]: rx6110sa: Add possibility to use both I2C and SMBus for the RTC
Werner Zeh (Code Review)
gerrit at coreboot.org
Mon May 29 15:54:33 CEST 2017
Werner Zeh has posted comments on this change. ( https://review.coreboot.org/19978 )
Change subject: rx6110sa: Add possibility to use both I2C and SMBus for the RTC
......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/19978/1/src/drivers/i2c/rx6110sa/rx6110sa.c
File src/drivers/i2c/rx6110sa/rx6110sa.c:
PS1, Line 30: rx611sa_write
> Why did you not use function name rx6110sa_write and rx6110sa_read?
Ohh, my mistake. Will change that.
PS1, Line 32: if (!CONFIG_RX6110SA_USE_SMBUS)
: i2c_writeb(I2C_BUS_NUM, I2C_DEV_NUM, reg, val);
: else
: smbus_write_byte(dev, reg, val);
> You can leave the negation of CONFIG_RX6110SA_USE_SMBUS if you replace the
Yes, that sounds better.
--
To view, visit https://review.coreboot.org/19978
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I4827ae2c544e8002399d94a1159acacd8176c5e9
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Werner Zeh <werner.zeh at siemens.com>
Gerrit-Reviewer: Aaron Durbin <adurbin at gmail.com>
Gerrit-Reviewer: Mario Scheithauer <mario.scheithauer at siemens.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh at siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
Gerrit-HasComments: Yes
More information about the coreboot-gerrit
mailing list