From 6acc05ed310fcd81bea9288df8c4cb4471a8bbbe Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 12 May 2022 18:01:13 +0200 Subject: rules.h: Use more consistent naming Use 'ENV' consistently and drop the redundant 'STAGE' in the naming. Change-Id: I51f2a7e70eefad12aa214e92f23e5fd2edf46698 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/64296 Tested-by: build bot (Jenkins) Reviewed-by: Raul Rangel --- src/ec/acpi/ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ec/acpi') 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; -- cgit v1.2.3