From 7af504b03f0d2987abdde9289095d5a46e6896b9 Mon Sep 17 00:00:00 2001 From: Jon Murphy Date: Wed, 29 Mar 2023 15:27:56 -0600 Subject: mb/google/myst: Declare CrOS GPIOs Declare CrOS GPIOs for Myst, add relevant defines needed by chromeOS for additional control GPIOs. BUG=b:270616013 TEST=builds Signed-off-by: Jon Murphy Change-Id: Ie876883d6ee2e3bc6324c038cefee12d99702dc9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/74096 Reviewed-by: Eric Lai Reviewed-by: Karthik Ramasubramanian Tested-by: build bot (Jenkins) --- src/mainboard/google/myst/chromeos.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/mainboard/google/myst/chromeos.c (limited to 'src/mainboard/google/myst/chromeos.c') diff --git a/src/mainboard/google/myst/chromeos.c b/src/mainboard/google/myst/chromeos.c new file mode 100644 index 0000000000..9f4a3cb05b --- /dev/null +++ b/src/mainboard/google/myst/chromeos.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include +#include + +static const struct cros_gpio cros_gpios[] = { + CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, GPIO_DEVICE_NAME), + CROS_GPIO_WP_AL(CROS_WP_GPIO, GPIO_DEVICE_NAME), +}; +DECLARE_CROS_GPIOS(cros_gpios); -- cgit v1.2.3