summaryrefslogtreecommitdiff
path: root/src/mainboard/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r--src/mainboard/amd/chausie/chromeos.c10
-rw-r--r--src/mainboard/amd/majolica/chromeos.c10
2 files changed, 8 insertions, 12 deletions
diff --git a/src/mainboard/amd/chausie/chromeos.c b/src/mainboard/amd/chausie/chromeos.c
index 062fdad290..fffde8dcdc 100644
--- a/src/mainboard/amd/chausie/chromeos.c
+++ b/src/mainboard/amd/chausie/chromeos.c
@@ -18,11 +18,9 @@ int get_write_protect_state(void)
return 0;
}
-static const struct cros_gpio cros_gpios[] = {
- /* No ChromeOS GPIOs */
-};
-
-void mainboard_chromeos_acpi_generate(void)
+const struct cros_gpio *variant_cros_gpios(size_t *num)
{
- chromeos_acpi_gpio_generate(cros_gpios, ARRAY_SIZE(cros_gpios));
+ /* No ChromeOS GPIOs */
+ *num = 0;
+ return NULL;
}
diff --git a/src/mainboard/amd/majolica/chromeos.c b/src/mainboard/amd/majolica/chromeos.c
index 14f89d182e..acef8d1ed6 100644
--- a/src/mainboard/amd/majolica/chromeos.c
+++ b/src/mainboard/amd/majolica/chromeos.c
@@ -18,11 +18,9 @@ int get_write_protect_state(void)
return 0;
}
-static const struct cros_gpio cros_gpios[] = {
- /* No ChromeOS GPIOs */
-};
-
-void mainboard_chromeos_acpi_generate(void)
+const struct cros_gpio *variant_cros_gpios(size_t *num)
{
- chromeos_acpi_gpio_generate(cros_gpios, ARRAY_SIZE(cros_gpios));
+ /* No ChromeOS GPIOs */
+ *num = 0;
+ return NULL;
}