Shelley Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/32003
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
mb/google/hatch: Add overridetree to hatch variant
Mimic the serialio settings from cml_u variant of coffeelake rvp
BUG=b:128347800 BRANCH=None TEST=abuild
Change-Id: I6a9ec778d74cd48a2e1c79f8e669a9a6a6a9477d Signed-off-by: Shelley Chen shchen@google.com --- M src/mainboard/google/hatch/Kconfig A src/mainboard/google/hatch/variants/hatch/overridetree.cb 2 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/32003/1
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig index 629b125..d88c795 100644 --- a/src/mainboard/google/hatch/Kconfig +++ b/src/mainboard/google/hatch/Kconfig @@ -38,6 +38,10 @@ string default "variants/baseboard/devicetree.cb"
+config OVERRIDE_DEVICETREE + string + default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_HATCH_WHL + config DIMM_MAX int default 2 diff --git a/src/mainboard/google/hatch/variants/hatch/overridetree.cb b/src/mainboard/google/hatch/variants/hatch/overridetree.cb new file mode 100644 index 0000000..62da635 --- /dev/null +++ b/src/mainboard/google/hatch/variants/hatch/overridetree.cb @@ -0,0 +1,18 @@ +chip soc/intel/cannonlake + + register "SerialIoDevMode" = "{ + [PchSerialIoIndexI2C0] = PchSerialIoPci, + [PchSerialIoIndexI2C1] = PchSerialIoPci, + [PchSerialIoIndexI2C2] = PchSerialIoPci, + [PchSerialIoIndexI2C3] = PchSerialIoPci, + [PchSerialIoIndexI2C4] = PchSerialIoDisabled, + [PchSerialIoIndexI2C5] = PchSerialIoPci, + [PchSerialIoIndexSPI0] = PchSerialIoPci, + [PchSerialIoIndexSPI1] = PchSerialIoPci, + [PchSerialIoIndexSPI2] = PchSerialIoDisabled, + [PchSerialIoIndexUART0] = PchSerialIoSkipInit, + [PchSerialIoIndexUART1] = PchSerialIoDisabled, + [PchSerialIoIndexUART2] = PchSerialIoSkipInit, + }" + +end \ No newline at end of file
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32003 )
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/Kconfig File src/mainboard/google/hatch/Kconfig:
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/Kconfig@4... PS1, Line 41: OVERRIDE_DEVICETREE nit: Place this in alphabetical order?
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/variants/... File src/mainboard/google/hatch/variants/hatch/overridetree.cb:
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/variants/... PS1, Line 18: end nit: need a newline at end of file
Hello Evan Green, Tim Wawrzynczak, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32003
to look at the new patch set (#2).
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
mb/google/hatch: Add overridetree to hatch variant
Mimic the serialio settings from cml_u variant of coffeelake rvp
BUG=b:128347800 BRANCH=None TEST=abuild
Change-Id: I6a9ec778d74cd48a2e1c79f8e669a9a6a6a9477d Signed-off-by: Shelley Chen shchen@google.com --- M src/mainboard/google/hatch/Kconfig A src/mainboard/google/hatch/variants/hatch/overridetree.cb 2 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/32003/2
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32003 )
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
Patch Set 2:
(4 comments)
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/Kconfig File src/mainboard/google/hatch/Kconfig:
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/Kconfig@4... PS1, Line 43: BOARD_GOOGLE_HATCH_WHL Now that we are adding override tree, we should move devices like touchscreen, trackpad, etc. to override tree. Okay to do in follow-up change
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/variants/... File src/mainboard/google/hatch/variants/hatch/overridetree.cb:
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/variants/... PS1, Line 8: PchSerialIoDisabled Why? We are using this: https://review.coreboot.org/cgit/coreboot.git/tree/src/mainboard/google/hatc...
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/variants/... PS1, Line 13: PchSerialIoSkipInit PchSerialIoPci should probably be okay here?
https://review.coreboot.org/#/c/32003/1/src/mainboard/google/hatch/variants/... PS1, Line 15: PchSerialIoSkipInit Why? Shouldn't this be PchSerialIoDisabled?
Hello Evan Green, Tim Wawrzynczak, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32003
to look at the new patch set (#3).
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
mb/google/hatch: Add overridetree to hatch variant
Add serialio settings to hatch. Only applies to CML.
BUG=b:128347800 BRANCH=None TEST=abuild
Change-Id: I6a9ec778d74cd48a2e1c79f8e669a9a6a6a9477d Signed-off-by: Shelley Chen shchen@google.com --- M src/mainboard/google/hatch/Kconfig A src/mainboard/google/hatch/variants/hatch/overridetree.cb 2 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/32003/3
Hello Evan Green, Tim Wawrzynczak, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/32003
to look at the new patch set (#4).
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
mb/google/hatch: Add overridetree to hatch variant
Add serialio settings to hatch. Only applies to CML.
BUG=b:128347800 BRANCH=None TEST=abuild
Change-Id: I6a9ec778d74cd48a2e1c79f8e669a9a6a6a9477d Signed-off-by: Shelley Chen shchen@google.com --- M src/mainboard/google/hatch/Kconfig A src/mainboard/google/hatch/variants/hatch/overridetree.cb 2 files changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/32003/4
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32003 )
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
Patch Set 4: Code-Review+2
Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/c/coreboot/+/32003 )
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
mb/google/hatch: Add overridetree to hatch variant
Add serialio settings to hatch. Only applies to CML.
BUG=b:128347800 BRANCH=None TEST=abuild
Change-Id: I6a9ec778d74cd48a2e1c79f8e669a9a6a6a9477d Signed-off-by: Shelley Chen shchen@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/32003 Reviewed-by: Furquan Shaikh furquan@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/mainboard/google/hatch/Kconfig A src/mainboard/google/hatch/variants/hatch/overridetree.cb 2 files changed, 22 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Furquan Shaikh: Looks good to me, approved
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig index f632a02..19c7184 100644 --- a/src/mainboard/google/hatch/Kconfig +++ b/src/mainboard/google/hatch/Kconfig @@ -80,6 +80,10 @@ int default 8
+config OVERRIDE_DEVICETREE + string + default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" if !BOARD_GOOGLE_HATCH_WHL + config TPM_TIS_ACPI_INTERRUPT int default 53 # GPE0_DW1_21 (GPP_C21) diff --git a/src/mainboard/google/hatch/variants/hatch/overridetree.cb b/src/mainboard/google/hatch/variants/hatch/overridetree.cb new file mode 100644 index 0000000..6e6414e --- /dev/null +++ b/src/mainboard/google/hatch/variants/hatch/overridetree.cb @@ -0,0 +1,18 @@ +chip soc/intel/cannonlake + + register "SerialIoDevMode" = "{ + [PchSerialIoIndexI2C0] = PchSerialIoPci, + [PchSerialIoIndexI2C1] = PchSerialIoPci, + [PchSerialIoIndexI2C2] = PchSerialIoPci, + [PchSerialIoIndexI2C3] = PchSerialIoPci, + [PchSerialIoIndexI2C4] = PchSerialIoPci, + [PchSerialIoIndexI2C5] = PchSerialIoPci, + [PchSerialIoIndexSPI0] = PchSerialIoPci, + [PchSerialIoIndexSPI1] = PchSerialIoPci, + [PchSerialIoIndexSPI2] = PchSerialIoDisabled, + [PchSerialIoIndexUART0] = PchSerialIoPci, + [PchSerialIoIndexUART1] = PchSerialIoDisabled, + [PchSerialIoIndexUART2] = PchSerialIoDisabled, + }" + +end
Subrata Banik has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32003 )
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/#/c/32003/6/src/mainboard/google/hatch/variants/... File src/mainboard/google/hatch/variants/hatch/overridetree.cb:
https://review.coreboot.org/#/c/32003/6/src/mainboard/google/hatch/variants/... PS6, Line 13: PchSerialIoPci should be PchSerialIoSkipInit to skip fsp to initial uart....
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/32003 )
Change subject: mb/google/hatch: Add overridetree to hatch variant ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/#/c/32003/6/src/mainboard/google/hatch/variants/... File src/mainboard/google/hatch/variants/hatch/overridetree.cb:
https://review.coreboot.org/#/c/32003/6/src/mainboard/google/hatch/variants/... PS6, Line 13: PchSerialIoPci
should be PchSerialIoSkipInit to skip fsp to initial uart....
https://review.coreboot.org/c/coreboot/+/32278/1/src/mainboard/google/hatch/...