1 /* SPDX-License-Identifier: GPL-2.0-only */
8 /* functions implemented per mainboard: */
9 int get_write_protect_state(void);
10 int get_recovery_mode_switch(void);
11 int get_recovery_mode_retrain_switch(void);
12 int clear_recovery_mode_switch(void);
13 int get_wipeout_mode_switch(void);
14 int get_lid_switch(void);
15 int get_ec_is_trusted(void);
17 /* Return 1 if display initialization is required. 0 if not. */
18 int display_init_required(void);
19 int gfx_get_init_done(void);
20 void gfx_set_init_done(int done
);
23 * Determine if the platform is resuming from suspend. Returns 0 when
24 * not resuming, > 0 if resuming, and < 0 on error.
26 int platform_is_resuming(void);
28 #endif /* __BOOTMODE_H__ */