From f37e8eaa7704276ae09009f5541d28efe3e8e19e Mon Sep 17 00:00:00 2001 From: John Su Date: Fri, 22 Jan 2021 14:16:36 +0800 Subject: 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 Change-Id: Icd87ea585dfaa2185abf1f7bf803e9c9a6e63972 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49822 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/google/zork/Kconfig | 1 + src/mainboard/google/zork/variants/vilboz/overridetree.cb | 6 ++++++ 2 files changed, 7 insertions(+) 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 -- cgit v1.2.3