summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-21 17:23:19 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 21:22:55 +0000
commit1de326460eb240ba9780d8e1a2a2dc73d0f9f347 (patch)
treecdbd2d6102834111a0eb1ba7c9916c4e7bc8bab8 /src
parent4ad7f5b1a4f81343cee634a3a49145a3ed9855b7 (diff)
mb/google/jecht: Rename save_chromeos_gpios function
We have init_bootmode_straps() defined for the same purpose. Change-Id: Ia2692d8f8986247ea4ce889d6252d3c4c8b27bc4 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30398 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-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)