UPSTREAM: chromeos / broadwell / jecht: Make save_chromeos_gpios() jecht-specific
This callback was only required for a single mainboard, and it can
easily be moved to mainboard-specific code. This patch removes it from
the global namespace and isolates it to the Jecht board. (This makes
it easier to separate vboot and chromeos code in a later patch.)
Change-Id: Ida287e5b48f4543b9caee1a81c302044bd041edc
Original-Change-Id: I9cf67a75a052d1c86eda0393b6a9fbbe255fedf8
Original-Reviewed-on: https://review.coreboot.org/18981
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Tested-by: build bot (Jenkins)
Original-Commit-Id: b04cc6b902
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/462011
This commit is contained in:
parent
5e4be332b3
commit
d9b96b0eab
6 changed files with 7 additions and 12 deletions
|
|
@ -23,11 +23,6 @@ int __attribute__((weak)) clear_recovery_mode_switch(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void __attribute__((weak)) save_chromeos_gpios(void)
|
||||
{
|
||||
// Can be implemented by a mainboard
|
||||
}
|
||||
|
||||
int __attribute__((weak)) get_sw_write_protect_state(void)
|
||||
{
|
||||
// Can be implemented by a platform / mainboard
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@
|
|||
#include <vboot/misc.h>
|
||||
#include <vboot/vboot_common.h>
|
||||
|
||||
void save_chromeos_gpios(void);
|
||||
|
||||
#if CONFIG_CHROMEOS
|
||||
/* functions implemented in watchdog.c */
|
||||
void mark_watchdog_tombstone(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue