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>
This commit is contained in:
Kyösti Mälkki 2018-06-21 17:23:19 +03:00
parent 4ad7f5b1a4
commit 1de326460e
3 changed files with 3 additions and 4 deletions

View File

@ -73,7 +73,7 @@ int get_recovery_mode_switch(void)
} }
#ifdef __PRE_RAM__ #ifdef __PRE_RAM__
void save_chromeos_gpios(void) void init_bootmode_straps(void)
{ {
u32 flags = 0; u32 flags = 0;

View File

@ -19,8 +19,6 @@
#ifndef __ACPI__ #ifndef __ACPI__
void lan_init(void); void lan_init(void);
void save_chromeos_gpios(void);
void set_power_led(int state); void set_power_led(int state);
enum { enum {

View File

@ -14,6 +14,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <bootmode.h>
#include <console/console.h> #include <console/console.h>
#include <string.h> #include <string.h>
#include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec.h>
@ -47,7 +48,7 @@ void mainboard_romstage_entry(struct romstage_params *rp)
romstage_common(rp); romstage_common(rp);
if (IS_ENABLED(CONFIG_CHROMEOS)) if (IS_ENABLED(CONFIG_CHROMEOS))
save_chromeos_gpios(); init_bootmode_straps();
} }
void mainboard_pre_console_init(void) void mainboard_pre_console_init(void)