diff options
Diffstat (limited to 'src/ec/acpi')
-rw-r--r-- | src/ec/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/acpi/ec.c b/src/ec/acpi/ec.c index 5d6fb189fb..76ec8fe2bd 100644 --- a/src/ec/acpi/ec.c +++ b/src/ec/acpi/ec.c @@ -142,7 +142,7 @@ void ec_clr_bit(u8 addr, u8 bit) void ec_set_ports(u16 cmd_reg, u16 data_reg) { - if (!ENV_STAGE_HAS_DATA_SECTION) + if (!ENV_HAS_DATA_SECTION) return; ec_cmd_reg = cmd_reg; |