Seunghwan Kim has uploaded this change for review. ( https://review.coreboot.org/27773
Change subject: mb/google/poppy/variants/nautilus: Set CABC_EN to GPO high before EDP power on
......................................................................
mb/google/poppy/variants/nautilus: Set CABC_EN to GPO high before EDP power on
If GPP_E22(CABC_EN) remained floating GPI(SoC default) at V3.3_DX_EDP on,
it may cause damage on the GPIO pad.
To prevent, we would set this pad to GPO on romstage before EDP power on.
Since we need to cover all systems in market, I put it into romstage
instead of early_gpio_table.
BUG=b:111860510
BRANCH=poppy
TEST=Verified CABC_EN is set to GPO high 5ms before EDP power on
Change-Id: I34e2fe86329a88eb05e0ea3c6beac6a64754b41e
Signed-off-by: Seunghwan Kim <sh_.kim(a)samsung.com>
---
M src/mainboard/google/poppy/variants/nautilus/memory.c
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/73/27773/1
diff --git a/src/mainboard/google/poppy/variants/nautilus/memory.c b/src/mainboard/google/poppy/variants/nautilus/memory.c
index dc845bc..bf2accf 100644
--- a/src/mainboard/google/poppy/variants/nautilus/memory.c
+++ b/src/mainboard/google/poppy/variants/nautilus/memory.c
@@ -14,6 +14,7 @@
*/
#include <baseboard/variants.h>
+#include <gpio.h>
/* DQ byte map */
static const u8 dq_map[][12] = {
@@ -46,4 +47,8 @@
p->rcomp_resistor_size = sizeof(rcomp_resistor);
p->rcomp_target = rcomp_target;
p->rcomp_target_size = sizeof(rcomp_target);
+
+ /* Ensure GPP_E22(CABC_EN) is set to GPO before enabling V3.3_DX_EDP.
+ * If it is remained floating GPI, it may cause damage on the pad.*/
+ gpio_output(GPP_E22, 1);
}
--
To view, visit https://review.coreboot.org/27773
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I34e2fe86329a88eb05e0ea3c6beac6a64754b41e
Gerrit-Change-Number: 27773
Gerrit-PatchSet: 1
Gerrit-Owner: Seunghwan Kim <sh_.kim(a)samsung.com>
TH Lin has posted comments on this change. ( https://review.coreboot.org/27772 )
Change subject: mb/google/poppy/variant/nami: Set IA/GT/SA
......................................................................
Patch Set 2:
Here is another possible solution. Only set IslVrCmd, no changing on slowslewrate on IA/SA/GT....
--
To view, visit https://review.coreboot.org/27772
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccc52a60bbf6fba7550794c417c7293d870fe3a0
Gerrit-Change-Number: 27772
Gerrit-PatchSet: 2
Gerrit-Owner: TH Lin <t.h_lin(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: TH Lin <t.h_lin(a)quanta.corp-partner.google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 01 Aug 2018 06:09:45 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
TH Lin has uploaded a new patch set (#2). ( https://review.coreboot.org/27772 )
Change subject: mb/google/poppy/variant/nami: Set IA/GT/SA
......................................................................
mb/google/poppy/variant/nami: Set IA/GT/SA
Set IA/GT 0.25V
Set SA PS4
BUG=b:111912585
BRANCH=nami
TEST=emerge-nami coreboot chromeos-bootimage
Change-Id: Iccc52a60bbf6fba7550794c417c7293d870fe3a0
Signed-off-by: T.H. Lin <t.h_lin(a)quanta.corp-partner.google.com>
---
M src/mainboard/google/poppy/variants/nami/mainboard.c
1 file changed, 7 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/72/27772/2
--
To view, visit https://review.coreboot.org/27772
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iccc52a60bbf6fba7550794c417c7293d870fe3a0
Gerrit-Change-Number: 27772
Gerrit-PatchSet: 2
Gerrit-Owner: TH Lin <t.h_lin(a)quanta.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
build bot (Jenkins) has posted comments on this change. ( https://review.coreboot.org/27772 )
Change subject: mb/google/poppy/variant/nami: Set IA/GT/SA
......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/27772/1/src/mainboard/google/poppy/variants…
File src/mainboard/google/poppy/variants/nami/mainboard.c:
https://review.coreboot.org/#/c/27772/1/src/mainboard/google/poppy/variants…
PS1, Line 91: cfg->IslVrCmd = 2;
code indent should use tabs where possible
--
To view, visit https://review.coreboot.org/27772
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iccc52a60bbf6fba7550794c417c7293d870fe3a0
Gerrit-Change-Number: 27772
Gerrit-PatchSet: 1
Gerrit-Owner: TH Lin <t.h_lin(a)quanta.corp-partner.google.com>
Gerrit-CC: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 01 Aug 2018 06:02:27 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Julius Werner has posted comments on this change. ( https://review.coreboot.org/27769 )
Change subject: security/tpm: TCPA log follow up
......................................................................
Patch Set 1:
(4 comments)
https://review.coreboot.org/#/c/27769/1/src/security/tpm/tspi/log.c
File src/security/tpm/tspi/log.c:
https://review.coreboot.org/#/c/27769/1/src/security/tpm/tspi/log.c@24
PS1, Line 24: static
Does this build correctly for x86 verstage? I guess it might get optimized out. Still, I think it's safer to use MAYBE_STATIC (and explicitly initialize to NULL) so correctness is not dependent on such details.
https://review.coreboot.org/#/c/27769/1/src/security/tpm/tspi/log.c@31
PS1, Line 31: NULL
Doesn't this need to be 'return ce'?
https://review.coreboot.org/#/c/27769/1/src/security/tpm/tspi/log.c@57
PS1, Line 57: printk(BIOS_ERR, "ERROR: No TCPA log table found\n");
Now you'll have the problem Furquan fixed again. I think you probably just want to move this error message back into tcpa_log_init() and only print it for the cbmem_add() failure (which is the only real error, all other code paths are WAI).
https://review.coreboot.org/#/c/27769/1/src/security/tpm/tspi/log.c@68
PS1, Line 68: TCPA_PCR_HASH_NAME
You need to subtract 1 here or you might not write the null terminator and get weird output in cbmem. (Or you can fix the cbmem implementation to not read more than TCPA_PCR_HASH_NAME chars from this, which I don't think it currently checks for.)
--
To view, visit https://review.coreboot.org/27769
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I215d79eed7ad17c6ab87f0c4b14a282e519ef07d
Gerrit-Change-Number: 27769
Gerrit-PatchSet: 1
Gerrit-Owner: Philipp Deppenwiese <zaolin.daisuki(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Patrick Rudolph <siro(a)das-labor.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-Comment-Date: Wed, 01 Aug 2018 05:02:22 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
Xiang Wang has uploaded a new patch set (#2). ( https://review.coreboot.org/27770 )
Change subject: riscv: add suport to check machine length at runtime
......................................................................
riscv: add suport to check machine length at runtime
Highest two bits of misa can be used to check machine length. Add code
to support this.
Change-Id: I3bab301d38ea8aabf2c70437e179287814298b25
Signed-off-by: Xiang Wang <wxjstz(a)126.com>
---
M src/arch/riscv/include/arch/cpu.h
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/27770/2
--
To view, visit https://review.coreboot.org/27770
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3bab301d38ea8aabf2c70437e179287814298b25
Gerrit-Change-Number: 27770
Gerrit-PatchSet: 2
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/27768
to look at the new patch set (#5).
Change subject: riscv: update the definition of intptr_t/uintptr_t
......................................................................
riscv: update the definition of intptr_t/uintptr_t
These RISC-V ABIs defined by GCC : ilp32 ilp32d ilp32f lp64 lp64d lp64f.
Through this we know that the length of the long's bit is equal to pointer.
So update this code. This's more flexible.
Change-Id: I16e1a2c12c6034df75dc360b65acb1b6affec49b
Signed-off-by: Xiang Wang <wxjstz(a)126.com>
---
M src/arch/riscv/include/stdint.h
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/27768/5
--
To view, visit https://review.coreboot.org/27768
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I16e1a2c12c6034df75dc360b65acb1b6affec49b
Gerrit-Change-Number: 27768
Gerrit-PatchSet: 5
Gerrit-Owner: Xiang Wang <wxjstz(a)126.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>