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 <arthur@aheymans.xyz>
Change-Id: I5ae4a63a7bd1b27ae3e9c757aa8557f329aad0f4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79534
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <patrick@coreboot.org>
This commit is contained in:
Arthur Heymans
2023-12-14 08:21:41 +01:00
committed by Felix Held
parent c7be0781ce
commit 77f1062e77

View File

@@ -282,8 +282,8 @@
* arch/x86/car.ld */ * arch/x86/car.ld */
#define ENV_SEPARATE_DATA_AND_BSS (ENV_CACHE_AS_RAM && (ENV_BOOTBLOCK || !CONFIG(NO_XIP_EARLY_STAGES))) #define ENV_SEPARATE_DATA_AND_BSS (ENV_CACHE_AS_RAM && (ENV_BOOTBLOCK || !CONFIG(NO_XIP_EARLY_STAGES)))
/* Currently rmodules, ramstage and smm have heap. */ /* Currently rmodules and ramstage have heap. */
#define ENV_HAS_HEAP_SECTION (ENV_RMODULE || ENV_RAMSTAGE || ENV_SMM) #define ENV_HAS_HEAP_SECTION (ENV_RMODULE || ENV_RAMSTAGE)
/* Set USER_SPACE in the makefile for the rare code that runs in userspace */ /* Set USER_SPACE in the makefile for the rare code that runs in userspace */
#if defined(__USER_SPACE__) #if defined(__USER_SPACE__)