summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/drallion/ramstage.c3
-rw-r--r--src/mainboard/google/sarien/ramstage.c2
-rw-r--r--src/mainboard/purism/librem_cnl/ramstage.c2
-rw-r--r--src/mainboard/system76/lemp9/ramstage.c2
4 files changed, 4 insertions, 5 deletions
diff --git a/src/mainboard/google/drallion/ramstage.c b/src/mainboard/google/drallion/ramstage.c
index ceba219ecf..d44c7b19d3 100644
--- a/src/mainboard/google/drallion/ramstage.c
+++ b/src/mainboard/google/drallion/ramstage.c
@@ -2,7 +2,6 @@
#include <acpi/acpi.h>
#include <smbios.h>
-#include <soc/gpio.h>
#include <soc/ramstage.h>
#include <variant/gpio.h>
#include <vendorcode/google/chromeos/chromeos.h>
@@ -30,7 +29,7 @@ static void mainboard_init(void *chip_info)
size_t num_gpios;
gpio_table = variant_gpio_table(&num_gpios);
- cnl_configure_pads(gpio_table, num_gpios);
+ gpio_configure_pads(gpio_table, num_gpios);
}
static void mainboard_enable(struct device *dev)
diff --git a/src/mainboard/google/sarien/ramstage.c b/src/mainboard/google/sarien/ramstage.c
index de97c686ee..6287628a88 100644
--- a/src/mainboard/google/sarien/ramstage.c
+++ b/src/mainboard/google/sarien/ramstage.c
@@ -39,7 +39,7 @@ static void mainboard_init(void *chip_info)
size_t num_gpios;
gpio_table = variant_gpio_table(&num_gpios);
- cnl_configure_pads(gpio_table, num_gpios);
+ gpio_configure_pads(gpio_table, num_gpios);
/* Disable unused pads for devices with board ID > 2 */
if (board_id() > 2)
diff --git a/src/mainboard/purism/librem_cnl/ramstage.c b/src/mainboard/purism/librem_cnl/ramstage.c
index 381d03be13..0d5dd55e72 100644
--- a/src/mainboard/purism/librem_cnl/ramstage.c
+++ b/src/mainboard/purism/librem_cnl/ramstage.c
@@ -9,5 +9,5 @@ void mainboard_silicon_init_params(FSPS_UPD *supd)
* dependencies during hardware initialization. */
size_t num_gpios;
const struct pad_config *gpio_table = variant_gpio_table(&num_gpios);
- cnl_configure_pads(gpio_table, num_gpios);
+ gpio_configure_pads(gpio_table, num_gpios);
}
diff --git a/src/mainboard/system76/lemp9/ramstage.c b/src/mainboard/system76/lemp9/ramstage.c
index 35ffd53bc1..aef7f71a0e 100644
--- a/src/mainboard/system76/lemp9/ramstage.c
+++ b/src/mainboard/system76/lemp9/ramstage.c
@@ -7,5 +7,5 @@ void mainboard_silicon_init_params(FSPS_UPD *supd)
{
/* Configure pads prior to SiliconInit() in case there's any
* dependencies during hardware initialization. */
- cnl_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
+ gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
}