summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-11-02 18:16:32 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-04-06 09:21:46 +0000
commite50bb8fc9efe25edf1ab27c7b6a88dfb7293ce06 (patch)
tree3151a5fc6969f68e027f005f2a58ae2367ac7ba0 /src/include
parent487d04540b551f2b3253b6f9042c723e5472023f (diff)
ChromeOS: Add legacy mainboard_ec_running_ro()
Motivation is to have mainboard_chromeos_acpi_generate() do nothing else than fill ACPI \OIPG package. Change-Id: I3cb95268424dc27f8c1e26b3d34eff1a7b8eab7f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58896 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/bootmode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/bootmode.h b/src/include/bootmode.h
index da2dbf6565..e2d1cb9a94 100644
--- a/src/include/bootmode.h
+++ b/src/include/bootmode.h
@@ -3,6 +3,8 @@
#ifndef __BOOTMODE_H__
#define __BOOTMODE_H__
+#include <stdbool.h>
+
/* functions implemented per mainboard: */
void init_bootmode_straps(void);
int get_write_protect_state(void);
@@ -12,6 +14,7 @@ int clear_recovery_mode_switch(void);
int get_wipeout_mode_switch(void);
int get_lid_switch(void);
int get_ec_is_trusted(void);
+bool mainboard_ec_running_ro(void);
/* Return 1 if display initialization is required. 0 if not. */
int display_init_required(void);