diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-12-14 08:21:41 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-15 09:41:18 +0000 |
commit | 77f1062e77b7d6d8605b67fc9479457a4abde22f (patch) | |
tree | 961aa013139e40bbe69932bd0abfa036deef84d4 /src/include | |
parent | c7be0781ce0849a54ee75ffb30dd3c0a3716cca3 (diff) |
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>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/rules.h | 4 |
1 files changed, 2 insertions, 2 deletions
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__) |