| 1 |
|
| 2 |
|
| 3 |
#include <bootmode.h> |
| 4 |
#include <cpu/x86/smm.h> |
| 5 |
#include <ec/google/chromeec/ec.h> |
| 6 |
#include <elog.h> |
| 7 |
#include <intelblocks/smihandler.h> |
| 8 |
#include <vendorcode/google/chromeos/chromeos.h> |
| 9 |
|
| 10 |
void google_chromeec_events_init(const struct google_chromeec_event_info *info, |
| 11 |
bool is_s3_wakeup) |
| 12 |
{ |
| 13 |
|
| 14 |
} |
| 15 |
|
| 16 |
int get_lid_switch(void) |
| 17 |
{ |
| 18 |
|
| 19 |
return 1; |
| 20 |
} |
| 21 |
|
| 22 |
int get_recovery_mode_switch(void) |
| 23 |
{ |
| 24 |
return 0; |
| 25 |
} |
| 26 |
|
| 27 |
bool chromeos_device_branded_plus_hard(void) |
| 28 |
{ |
| 29 |
return false; |
| 30 |
} |
| 31 |
|
| 32 |
bool chromeos_device_branded_plus_soft(void) |
| 33 |
{ |
| 34 |
return false; |
| 35 |
} |