From 77f1062e77b7d6d8605b67fc9479457a4abde22f Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 14 Dec 2023 08:21:41 +0100 Subject: rules.h: Clean up ENV_HAS_HEAP_SECTION Commit ea2c1d3 "cpu/x86/smm: Remove heap" removed the ability to use heap in SMM, but the ENV_HAS_HEAP_SECTION macro was not updated appropriately. Signed-off-by: Arthur Heymans Change-Id: I5ae4a63a7bd1b27ae3e9c757aa8557f329aad0f4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79534 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/include/rules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/rules.h b/src/include/rules.h index 7d32c779d6..17ef198932 100644 --- a/src/include/rules.h +++ b/src/include/rules.h @@ -282,8 +282,8 @@ * arch/x86/car.ld */ #define ENV_SEPARATE_DATA_AND_BSS (ENV_CACHE_AS_RAM && (ENV_BOOTBLOCK || !CONFIG(NO_XIP_EARLY_STAGES))) -/* Currently rmodules, ramstage and smm have heap. */ -#define ENV_HAS_HEAP_SECTION (ENV_RMODULE || ENV_RAMSTAGE || ENV_SMM) +/* Currently rmodules and ramstage have heap. */ +#define ENV_HAS_HEAP_SECTION (ENV_RMODULE || ENV_RAMSTAGE) /* Set USER_SPACE in the makefile for the rare code that runs in userspace */ #if defined(__USER_SPACE__) -- cgit v1.2.3