Lin Huang has posted comments on this change. ( https://review.coreboot.org/22780 )
Change subject: google/scarlet: support INNOLUX P097PFG panel
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/22780/1/src/mainboard/google/gru/mainboard.c
File src/mainboard/google/gru/mainboard.c:
https://review.coreboot.org/#/c/22780/1/src/mainboard/google/gru/mainboard.…
PS1, Line 568: if (sku_id() == 6) {
> Let's make this a switch-case statement. I think according to the current p
So how to translate sku_id still do not have final decision, right?
--
To view, visit https://review.coreboot.org/22780
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I43fa5d859a9a529a84c58a953b37d03953ce648a
Gerrit-Change-Number: 22780
Gerrit-PatchSet: 1
Gerrit-Owner: Lin Huang <hl(a)rock-chips.com>
Gerrit-Reviewer: Brian Norris <briannorris(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Lin Huang <hl(a)rock-chips.com>
Gerrit-Reviewer: Matthias Kaehlcke <mka(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 08 Dec 2017 03:48:07 +0000
Gerrit-HasComments: Yes
Julius Werner has posted comments on this change. ( https://review.coreboot.org/22780 )
Change subject: google/scarlet: support INNOLUX P097PFG panel
......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/22780/1/src/mainboard/google/gru/mainboard.c
File src/mainboard/google/gru/mainboard.c:
https://review.coreboot.org/#/c/22780/1/src/mainboard/google/gru/mainboard.…
PS1, Line 567: if (IS_ENABLED(CONFIG_GRU_BASEBOARD_SCARLET)) {
Let's not add this until we have other boards that need different panels.
https://review.coreboot.org/#/c/22780/1/src/mainboard/google/gru/mainboard.…
PS1, Line 568: if (sku_id() == 6) {
Let's make this a switch-case statement. I think according to the current plan only SKU pin 0 decides the panel, and the others are reserved for non-panel components (at least for now). So this should be:
switch (sku_id()) {
case 0:
case 2:
case 4:
case 6:
...innolux...
case 1:
case 3:
case 5:
case 7:
...king...
}
(Although Brian just told me that apparently our SKU pins don't read the way we expected them to, so that might still change once we figure out what's going on.)
--
To view, visit https://review.coreboot.org/22780
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I43fa5d859a9a529a84c58a953b37d03953ce648a
Gerrit-Change-Number: 22780
Gerrit-PatchSet: 1
Gerrit-Owner: Lin Huang <hl(a)rock-chips.com>
Gerrit-Reviewer: Brian Norris <briannorris(a)chromium.org>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Matthias Kaehlcke <mka(a)chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Fri, 08 Dec 2017 03:29:38 +0000
Gerrit-HasComments: Yes
Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/22782
Change subject: google/cyan: fix FSP memory init params
......................................................................
google/cyan: fix FSP memory init params
In the original Chromium source, PcdMemorySpdPtr is only set for
cyan, but none of the other Braswell variants. When upstreamed,
it was left set for all boards as it didn't appear to be problematic.
In wider testing, I came across one reks board for which it caused
FSP memory init to fail, so restricting the paramter to cyan only
as it was originally.
TEST: build/boot google/reks with Micron EDF8132A3MA-JD-F RAM,
observe board now successfully boots where it did not previously.
Change-Id: Iacfbd4bc89fa04717baf85704181d346bca2ed2f
Signed-off-by: Matt DeVillier <matt.devillier(a)gmail.com>
---
M src/mainboard/google/cyan/romstage.c
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/82/22782/1
diff --git a/src/mainboard/google/cyan/romstage.c b/src/mainboard/google/cyan/romstage.c
index c164ea4..5b4bcc0 100644
--- a/src/mainboard/google/cyan/romstage.c
+++ b/src/mainboard/google/cyan/romstage.c
@@ -33,11 +33,13 @@
MEMORY_INIT_UPD *memory_params)
{
/* Update SPD data */
- if (IS_ENABLED(CONFIG_BOARD_GOOGLE_CYAN))
+ if (IS_ENABLED(CONFIG_BOARD_GOOGLE_CYAN)) {
memory_params->PcdMemoryTypeEnable = MEM_DDR3;
- else
+ memory_params->PcdMemorySpdPtr =
+ (u32)params->pei_data->spd_data_ch0;
+ } else
memory_params->PcdMemoryTypeEnable = MEM_LPDDR3;
- memory_params->PcdMemorySpdPtr = (u32)params->pei_data->spd_data_ch0;
+
memory_params->PcdMemChannel0Config = params->pei_data->spd_ch0_config;
memory_params->PcdMemChannel1Config = params->pei_data->spd_ch1_config;
--
To view, visit https://review.coreboot.org/22782
To unsubscribe, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iacfbd4bc89fa04717baf85704181d346bca2ed2f
Gerrit-Change-Number: 22782
Gerrit-PatchSet: 1
Gerrit-Owner: Matt DeVillier <matt.devillier(a)gmail.com>