summaryrefslogtreecommitdiffstats
path: root/src/mainboard/emulation/qemu-q35/chromeos.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-11-02 13:03:06 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-04-07 20:38:12 +0000
commit4ff218aa712a6875c6059343ba407f107a3312a1 (patch)
tree1b5b2a10053a0a7ff8e7f4f993405f8a2b643a17 /src/mainboard/emulation/qemu-q35/chromeos.c
parentf0be9e34728070c8965a8a31832660a678881886 (diff)
downloadcoreboot-4ff218aa712a6875c6059343ba407f107a3312a1.tar.gz
coreboot-4ff218aa712a6875c6059343ba407f107a3312a1.tar.bz2
coreboot-4ff218aa712a6875c6059343ba407f107a3312a1.zip
ChromeOS: Add DECLARE_x_CROS_GPIOS()
Change-Id: I88406fa1b54312616e6717af3d924436dc4ff1a6 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58899 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35/chromeos.c')
-rw-r--r--src/mainboard/emulation/qemu-q35/chromeos.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/emulation/qemu-q35/chromeos.c b/src/mainboard/emulation/qemu-q35/chromeos.c
index 7fd2add8cd2b..0f29c8435049 100644
--- a/src/mainboard/emulation/qemu-q35/chromeos.c
+++ b/src/mainboard/emulation/qemu-q35/chromeos.c
@@ -19,12 +19,8 @@ void fill_lb_gpios(struct lb_gpios *gpios)
static const struct cros_gpio cros_gpios[] = {
CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, "QEMU"),
};
+DECLARE_CROS_GPIOS(cros_gpios);
-const struct cros_gpio *variant_cros_gpios(size_t *num)
-{
- *num = ARRAY_SIZE(cros_gpios);
- return cros_gpios;
-}
int get_ec_is_trusted(void)
{