Philip Chen has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32513 )
Change subject: soc/intel/cannonlake: Support different SPD read type for each slot
......................................................................
Patch Set 15:
(3 comments)
https://review.coreboot.org/#/c/32513/13/src/soc/intel/cannonlake/cnl_memcfg...
File src/soc/intel/cannonlake/cnl_memcfg_init.c:
https://review.coreboot.org/#/c/32513/13/src/soc/intel/cannonlake/cnl_memcfg...
PS13, Line 57: static size_t last_set_spd_data_len;
The variable is static, so it will have a definite memory address. […]
OK, SGTM.
https://review.coreboot.org/#/c/32513/13/src/soc/intel/cannonlake/cnl_memcfg...
PS13, Line 59: assert(spd_data_ptr && spd_data_len);
Please explicitly test spd_data_len != 0 instead of relying on C language behavior to convert an int […]
Done
https://review.coreboot.org/#/c/32513/13/src/soc/intel/cannonlake/cnl_memcfg...
PS13, Line 61: if (last_set_spd_data_len && last_set_spd_data_len != spd_data_len)
Please explicitly test last_set_spd_data_len != 0. […]
Done
--
To view, visit
https://review.coreboot.org/c/coreboot/+/32513
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I686a85996858204c20fd05ef24787a0487817c34
Gerrit-Change-Number: 32513
Gerrit-PatchSet: 15
Gerrit-Owner: Philip Chen
philipchen@google.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: Philip Chen
philipchen@google.com
Gerrit-Reviewer: Rizwan Qureshi
rizwan.qureshi@intel.com
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Patrick Rudolph
patrick.rudolph@9elements.com
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Mon, 13 May 2019 22:38:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Fagerburg
pfagerburg@chromium.org
Comment-In-Reply-To: Philip Chen
philipchen@google.com
Gerrit-MessageType: comment