aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Su <john_su@compal.corp-partner.google.com>2021-01-22 14:16:36 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-04 10:34:12 +0000
commitf37e8eaa7704276ae09009f5541d28efe3e8e19e (patch)
treeacb11a372b1344a7ea83326652a25c7123dc82ac
parent8fff297ea99017f4b7fcf5638b565371b96b30cf (diff)
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>
-rw-r--r--src/mainboard/google/zork/Kconfig1
-rw-r--r--src/mainboard/google/zork/variants/vilboz/overridetree.cb6
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/zork/Kconfig b/src/mainboard/google/zork/Kconfig
index 4fce3b8616..fe22650925 100644
--- a/src/mainboard/google/zork/Kconfig
+++ b/src/mainboard/google/zork/Kconfig
@@ -46,6 +46,7 @@ config BOARD_SPECIFIC_OPTIONS
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 ad5cc7e511..56b7972421 100644
--- a/src/mainboard/google/zork/variants/vilboz/overridetree.cb
+++ b/src/mainboard/google/zork/variants/vilboz/overridetree.cb
@@ -75,6 +75,12 @@ chip soc/amd/picasso
# 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