Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32788 )
Change subject: soc/intel/common/block/gpio: Add gpio_pm_configure() function
......................................................................
Patch Set 6:
(2 comments)
https://review.coreboot.org/#/c/32788/6/src/soc/intel/common/block/gpio/gpio...
File src/soc/intel/common/block/gpio/gpio.c:
https://review.coreboot.org/#/c/32788/6/src/soc/intel/common/block/gpio/gpio...
PS6, Line 625: misccfg_pm_mask[i]
Shouldn't the mask be always 0x3F so that you can actually set the value (0 or 1) that is requested […]
Done
https://review.coreboot.org/#/c/32788/6/src/soc/intel/common/block/include/i...
File src/soc/intel/common/block/include/intelblocks/gpio.h:
https://review.coreboot.org/#/c/32788/6/src/soc/intel/common/block/include/i...
PS6, Line 25:
: union gpio_misc_pm {
: uint8_t config;
: struct {
: uint8_t gdlcgen : 1;
: uint8_t gpdpcgen : 1;
: uint8_t gsxslcgen : 1;
: uint8_t gprtcdlcgen : 1;
: uint8_t gprcompcdlcgen : 1;
: uint8_t gpsidedpcgen : 1;
: uint8_t reserved : 2;
: } bit;
: };
:
Agree with Furquan here, the order of bitfields is compiler/implementation defined and should be avo […]
Done
--
To view, visit
https://review.coreboot.org/c/coreboot/+/32788
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I816a70ad92595f013740a235a9799912ad51665e
Gerrit-Change-Number: 32788
Gerrit-PatchSet: 6
Gerrit-Owner: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Fagerburg
pfagerburg@chromium.org
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: V Sowmya
v.sowmya@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Tim Wawrzynczak
twawrzynczak@google.com
Gerrit-Comment-Date: Thu, 16 May 2019 12:05:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Subrata Banik
subrata.banik@intel.com
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@google.com
Comment-In-Reply-To: Tim Wawrzynczak
twawrzynczak@chromium.org
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment