summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/jecht/chromeos.c2
-rw-r--r--src/mainboard/google/jecht/onboard.h2
-rw-r--r--src/mainboard/google/jecht/romstage.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/src/mainboard/google/jecht/chromeos.c b/src/mainboard/google/jecht/chromeos.c
index b7333ca423..c2e5a2be0a 100644
--- a/src/mainboard/google/jecht/chromeos.c
+++ b/src/mainboard/google/jecht/chromeos.c
@@ -73,7 +73,7 @@ int get_recovery_mode_switch(void)
}
#ifdef __PRE_RAM__
-void save_chromeos_gpios(void)
+void init_bootmode_straps(void)
{
u32 flags = 0;
diff --git a/src/mainboard/google/jecht/onboard.h b/src/mainboard/google/jecht/onboard.h
index d92aa16dce..fba132377c 100644
--- a/src/mainboard/google/jecht/onboard.h
+++ b/src/mainboard/google/jecht/onboard.h
@@ -19,8 +19,6 @@
#ifndef __ACPI__
void lan_init(void);
-void save_chromeos_gpios(void);
-
void set_power_led(int state);
enum {
diff --git a/src/mainboard/google/jecht/romstage.c b/src/mainboard/google/jecht/romstage.c
index 7eccca97cb..ef807fc64a 100644
--- a/src/mainboard/google/jecht/romstage.c
+++ b/src/mainboard/google/jecht/romstage.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <bootmode.h>
#include <console/console.h>
#include <string.h>
#include <ec/google/chromeec/ec.h>
@@ -47,7 +48,7 @@ void mainboard_romstage_entry(struct romstage_params *rp)
romstage_common(rp);
if (IS_ENABLED(CONFIG_CHROMEOS))
- save_chromeos_gpios();
+ init_bootmode_straps();
}
void mainboard_pre_console_init(void)