summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Chen <lucas.chen@quanta.corp-partner.google.com>2020-05-26 19:31:48 +0800
committerMarshall Dawson <marshalldawson3rd@gmail.com>2020-06-24 12:43:28 +0000
commitc1bb32f869f45766125cb459fd753726c30eee88 (patch)
tree0c1c5247bcfd6a94cb727d536c7b434f456daf9d
parentab3947a021c8fc5cde16875e79481555fd406a82 (diff)
mb/google/zork: Add UPD xhci0_force_gen1 for Trembyle and Ezkinil
Add UPD xhci0_force_gen1 for Trembyle and Ezkinil. The default setting is set to disable, and set enabled for Ezkinil. Trambyle -> set default as disable. Ezkinil -> set enable by request. BUG=b:156314787 BRANCH=trembyle-bringup TEST=Build. Verified the setting will be applied on Ezkinil/Trembyle. Signed-off-by: Lucas Chen <lucas.chen@quanta.corp-partner.google.com> Change-Id: I65d06bfe379f9e42101bfae1a02a619ee2f24052 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/coreboot/+/2216090 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42217 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Eric Peers <epeers@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/mainboard/google/zork/variants/baseboard/devicetree.cb2
-rw-r--r--src/mainboard/google/zork/variants/ezkinil/overridetree.cb2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/variants/baseboard/devicetree.cb b/src/mainboard/google/zork/variants/baseboard/devicetree.cb
index 18c3783e83..3cc311b171 100644
--- a/src/mainboard/google/zork/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/zork/variants/baseboard/devicetree.cb
@@ -48,6 +48,8 @@ chip soc/amd/picasso
register "sd_emmc_config" = "SD_EMMC_EMMC_HS400"
+ register "xhci0_force_gen1" = "0"
+
# SPI Configuration
register "common_config.spi_config" = "{
.normal_speed = SPI_SPEED_66M, /* MHz */
diff --git a/src/mainboard/google/zork/variants/ezkinil/overridetree.cb b/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
index c208dae9ca..f7366acf0e 100644
--- a/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
+++ b/src/mainboard/google/zork/variants/ezkinil/overridetree.cb
@@ -22,6 +22,8 @@ chip soc/amd/picasso
# End : OPN Performance Configuration
+ register "xhci0_force_gen1" = "1"
+
# Enable I2C2 for trackpad, touchscreen, pen at 400kHz
register "i2c[2]" = "{
.speed = I2C_SPEED_FAST,