aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/generic/bayhub_lv2/chip.h
diff options
context:
space:
mode:
authorJohn Su <john_su@compal.corp-partner.google.com>2021-01-21 13:22:58 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-02-04 10:34:06 +0000
commit8fff297ea99017f4b7fcf5638b565371b96b30cf (patch)
tree34910bbc27521e81626a6cff25bf8338dc0b0768 /src/drivers/generic/bayhub_lv2/chip.h
parent27d45504302a55a60d5d701efdd954c8a35eac7c (diff)
drivers/generic/bayhub_lv2: Add driver for BayHub lv2
Add a driver which puts the device into power-saving mode. 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: Idc1340b1a6fe7063d16c8ea16488d6e2b8b308cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/49783 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/generic/bayhub_lv2/chip.h')
-rw-r--r--src/drivers/generic/bayhub_lv2/chip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/generic/bayhub_lv2/chip.h b/src/drivers/generic/bayhub_lv2/chip.h
new file mode 100644
index 0000000000..aa8f3fd879
--- /dev/null
+++ b/src/drivers/generic/bayhub_lv2/chip.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <stdbool.h>
+
+/* Bayhub LV2 PCIe to SD bridge */
+struct drivers_generic_bayhub_lv2_config {
+ bool enable_power_saving;
+};