diff options
Diffstat (limited to 'util/mainboard/google/rex0/template')
-rw-r--r-- | util/mainboard/google/rex0/template/Makefile.inc | 5 | ||||
-rw-r--r-- | util/mainboard/google/rex0/template/gpio.c | 30 |
2 files changed, 35 insertions, 0 deletions
diff --git a/util/mainboard/google/rex0/template/Makefile.inc b/util/mainboard/google/rex0/template/Makefile.inc new file mode 100644 index 0000000000..6c29346470 --- /dev/null +++ b/util/mainboard/google/rex0/template/Makefile.inc @@ -0,0 +1,5 @@ +bootblock-y += gpio.c + +romstage-y += gpio.c + +ramstage-y += gpio.c diff --git a/util/mainboard/google/rex0/template/gpio.c b/util/mainboard/google/rex0/template/gpio.c new file mode 100644 index 0000000000..b6e346f5a4 --- /dev/null +++ b/util/mainboard/google/rex0/template/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; +} |