diff options
author | David Wu <david_wu@quanta.corp-partner.google.com> | 2018-09-14 21:07:13 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-10-19 09:24:05 +0000 |
commit | eaab80efaf36d7a97f611229c1c6558b7217dd07 (patch) | |
tree | 01e47dfb9f68bd71cb38267038a9e833b0e7661d /src/mainboard/google/fizz/variants/baseboard/include | |
parent | d1be92ce071933919d8c81b929e007264b88d3b0 (diff) | |
download | coreboot-eaab80efaf36d7a97f611229c1c6558b7217dd07.tar.xz |
mb/google/fizz: Provide cros_gpio variant API
Add support for ChromeOS GPIO ACPI table information by providing weak
implementation from the baseboard.
BUG=b:117066935
BRANCH=Fizz
TEST=emerge-fizz coreboot
Change-Id: I2fa52c005cacdbcc322d107a3ac92d22df3f3697
Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/28964
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/fizz/variants/baseboard/include')
-rw-r--r-- | src/mainboard/google/fizz/variants/baseboard/include/baseboard/variants.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/fizz/variants/baseboard/include/baseboard/variants.h b/src/mainboard/google/fizz/variants/baseboard/include/baseboard/variants.h index d2abb1c089..ceef7fb755 100644 --- a/src/mainboard/google/fizz/variants/baseboard/include/baseboard/variants.h +++ b/src/mainboard/google/fizz/variants/baseboard/include/baseboard/variants.h @@ -18,6 +18,7 @@ #include <soc/gpio.h> #include <stdint.h> +#include <vendorcode/google/chromeos/chromeos.h> /* * The next set of functions return the gpio table and fill in the number of @@ -26,5 +27,6 @@ const struct pad_config *variant_gpio_table(size_t *num); const struct pad_config *variant_early_gpio_table(size_t *num); +const struct cros_gpio *variant_cros_gpios(size_t *num); #endif /* __BASEBOARD_VARIANTS_H__ */ |