diff options
Diffstat (limited to 'src/mainboard/google/reef/smihandler.c')
-rw-r--r-- | src/mainboard/google/reef/smihandler.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/google/reef/smihandler.c b/src/mainboard/google/reef/smihandler.c index 3b855f25a1..edf81906ed 100644 --- a/src/mainboard/google/reef/smihandler.c +++ b/src/mainboard/google/reef/smihandler.c @@ -14,6 +14,7 @@ * GNU General Public License for more details. */ +#include <arch/acpi.h> #include <cpu/x86/smm.h> #include <ec/google/chromeec/ec.h> #include <soc/pm.h> @@ -25,12 +26,12 @@ void mainboard_smi_sleep(u8 slp_typ) return; switch (slp_typ) { - case 3: + case ACPI_S3: /* Enable wake events */ google_chromeec_set_wake_mask(MAINBOARD_EC_S3_WAKE_EVENTS); enable_gpe(GPIO_TIER_1_SCI); break; - case 5: + case ACPI_S5: /* Enable wake events */ google_chromeec_set_wake_mask(MAINBOARD_EC_S5_WAKE_EVENTS); break; |