rambi: remove handling of APM_CNT_FINALIZE
Rambi doesn't need to do anything in the finalization step. Remove the case in the switch statement. BUG=chrome-os-partner:24624 BRANCH=baytrail TEST=Built and booted. Suspend/Resumed. Change-Id: Idf493d3dc5d06a0277050152c2245efa9b92c32e Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/185203 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
6eff475dae
commit
9fc310d7e2
1 changed files with 0 additions and 12 deletions
|
|
@ -126,21 +126,9 @@ void mainboard_smi_sleep(uint8_t slp_typ)
|
|||
while (google_chromeec_get_event() != 0);
|
||||
}
|
||||
|
||||
#define APMC_FINALIZE 0xcb
|
||||
|
||||
static int mainboard_finalized = 0;
|
||||
|
||||
int mainboard_smi_apmc(uint8_t apmc)
|
||||
{
|
||||
switch (apmc) {
|
||||
case APMC_FINALIZE:
|
||||
if (mainboard_finalized) {
|
||||
printk(BIOS_DEBUG, "SMI#: Already finalized\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
mainboard_finalized = 1;
|
||||
break;
|
||||
case APM_CNT_ACPI_ENABLE:
|
||||
google_chromeec_set_smi_mask(0);
|
||||
/* Clear all pending events */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue