aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/intel/emeraldlake2/smihandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/emeraldlake2/smihandler.c')
-rw-r--r--src/mainboard/intel/emeraldlake2/smihandler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/intel/emeraldlake2/smihandler.c b/src/mainboard/intel/emeraldlake2/smihandler.c
index 03c505b81..acc1fde93 100644
--- a/src/mainboard/intel/emeraldlake2/smihandler.c
+++ b/src/mainboard/intel/emeraldlake2/smihandler.c
@@ -59,11 +59,11 @@ void mainboard_smi_sleep(u8 slp_typ)
u8 reg8;
switch (slp_typ) {
- case SLP_TYP_S3:
- case SLP_TYP_S4:
+ case 3:
+ case 4:
break;
- case SLP_TYP_S5:
+ case 5:
/* Turn off LED */
reg8 = inb(SIO_GPIO_BASE_SET4);
reg8 |= (1 << 5);