Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31358 )
Change subject: mb/google/hatch: Use MEM_CH_SEL to indicate single_channel sku
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/#/c/31358/3/src/mainboard/google/hatch/variants/...
File src/mainboard/google/hatch/variants/baseboard/memory.c:
https://review.coreboot.org/#/c/31358/3/src/mainboard/google/hatch/variants/...
PS3, Line 22:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
yeah, this was not straightforward. […]
But why not just have:
static struct cnl_mb_cfg baseboard_memcfg = {
...
};
here and then:
const struct cnl_mb_cfg *__weak variant_memory_params(void)
{
if (gpio_get(GPP_F2) == 1)
baseboard_memcfg.single_channel = 1;
return &baseboard_memcfg;
}
--
To view, visit
https://review.coreboot.org/c/coreboot/+/31358
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I89d022793580be603a93d0b177d73ce968529b5c
Gerrit-Change-Number: 31358
Gerrit-PatchSet: 3
Gerrit-Owner: Shelley Chen
shchen@google.com
Gerrit-Reviewer: Aamir Bohra
aamir.bohra@intel.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Rizwan Qureshi
rizwan.qureshi@intel.com
Gerrit-Reviewer: Shelley Chen
shchen@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Comment-Date: Tue, 12 Feb 2019 17:54:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Shelley Chen
shchen@google.com
Comment-In-Reply-To: Furquan Shaikh
furquan@google.com
Gerrit-MessageType: comment