Patrick Georgi submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved
mb/google/zork/variants/vilboz: Enable BayHub lv2 driver

Enable this driver along with power saving.

BUG=b:177955523
BRANCH=zork
TEST=boot and see this message:
BayHub LV2: Power-saving enabled 110102

Signed-off-by: John Su <john_su@compal.corp-partner.google.com>
Change-Id: Icd87ea585dfaa2185abf1f7bf803e9c9a6e63972
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49822
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
---
M src/mainboard/google/zork/Kconfig
M src/mainboard/google/zork/variants/vilboz/overridetree.cb
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index 4fce3b8..fe22650 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -46,6 +46,7 @@
select HAVE_ACPI_RESUME
select DRIVERS_USB_ACPI
select DRIVERS_UART_ACPI
+ select DRIVERS_GENERIC_BAYHUB_LV2

config ELOG_BOOT_COUNT_CMOS_OFFSET
int
diff --git a/src/mainboard/google/zork/variants/vilboz/overridetree.cb b/src/mainboard/google/zork/variants/vilboz/overridetree.cb
index ad5cc7e..56b7972 100644
--- a/src/mainboard/google/zork/variants/vilboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/vilboz/overridetree.cb
@@ -75,6 +75,12 @@
# See AMD 55570-B1 Table 13: PCI Device ID Assignments.
device domain 0 on
subsystemid 0x1022 0x1510 inherit
+ device pci 1.3 on
+ chip drivers/generic/bayhub_lv2
+ register "enable_power_saving" = "1"
+ device pci 00.0 on end
+ end
+ end # GPP Bridge 2 - SD
device pci 8.1 on
device pci 0.5 on
chip drivers/amd/i2s_machine_dev

To view, visit change 49822. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Icd87ea585dfaa2185abf1f7bf803e9c9a6e63972
Gerrit-Change-Number: 49822
Gerrit-PatchSet: 12
Gerrit-Owner: John Su <john_su@compal.corp-partner.google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Gerrit-Reviewer: Frank Wu <frank_wu@compal.corp-partner.google.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Alan Lee <alan_lee@compal.corp-partner.google.com>
Gerrit-CC: Ivy Jian <ivy_jian@compal.corp-partner.google.com>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: merged