diff options
author | Tyler Wang <tyler.wang@quanta.corp-partner.google.com> | 2023-05-31 17:08:05 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-06-03 20:39:04 +0000 |
commit | 4ce6ef972539c8d2e474aa3bd9fdee800afd22b5 (patch) | |
tree | 9ddde31b09f96c1be713f6ac7975c71dc7298ebd /src/mainboard/google/rex/variants/karis/gpio.c | |
parent | 9310035594dd85d9f4fc27765a3b00bf3c6cbb29 (diff) |
mb/google/rex: Create karis variant
Create the karis variant of the rex0 reference board by copying
the template files to a new directory named for the variant.
(Auto-Generated by create_coreboot_variant.sh version 4.5.0.)
BUG=b:285195072
TEST=util/abuild/abuild -p none -t google/rex -x -a
make sure the build includes GOOGLE_KARIS
Change-Id: I16d8b43390401789b87a6233238e37f32a17b46b
Signed-off-by: Tyler Wang <tyler.wang@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75551
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard/google/rex/variants/karis/gpio.c')
-rw-r--r-- | src/mainboard/google/rex/variants/karis/gpio.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/karis/gpio.c b/src/mainboard/google/rex/variants/karis/gpio.c new file mode 100644 index 0000000000..b6e346f5a4 --- /dev/null +++ b/src/mainboard/google/rex/variants/karis/gpio.c @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <baseboard/gpio.h> +#include <baseboard/variants.h> +#include <types.h> +#include <soc/gpio.h> +#include <vendorcode/google/chromeos/chromeos.h> + +const struct pad_config *variant_gpio_table(size_t *num) +{ + *num = 0; + return NULL; +} + +const struct pad_config *variant_early_gpio_table(size_t *num) +{ + *num = 0; + return NULL; +} + +static const struct cros_gpio cros_gpios[] = { +}; + +DECLARE_CROS_GPIOS(cros_gpios); + +const struct pad_config *variant_romstage_gpio_table(size_t *num) +{ + *num = 0; + return NULL; +} |