From 1de326460eb240ba9780d8e1a2a2dc73d0f9f347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 21 Jun 2018 17:23:19 +0300 Subject: mb/google/jecht: Rename save_chromeos_gpios function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have init_bootmode_straps() defined for the same purpose. Change-Id: Ia2692d8f8986247ea4ce889d6252d3c4c8b27bc4 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/30398 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/mainboard/google/jecht/chromeos.c | 2 +- src/mainboard/google/jecht/onboard.h | 2 -- src/mainboard/google/jecht/romstage.c | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mainboard') 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 #include #include #include @@ -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) -- cgit v1.2.3