summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2023-05-08 17:04:45 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-05-09 18:15:45 +0000
commitc3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4 (patch)
tree089cf5cb840a4b009748c1461c35215a9aad71f3 /src
parent83faa5d804d183a26b0fa66b5d55bbe5f3b72c89 (diff)
downloadcoreboot-c3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4.tar.gz
coreboot-c3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4.tar.bz2
coreboot-c3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4.zip
arch/x86/car.ld: Fix undefined macro
Processing LD flags is done without most warnings enabled, which is why this never caused problems. Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Change-Id: Ic9d82c1426a1c1d2f21c8e7560685cf9d7106a88 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75033 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/car.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld
index e621dd45d2ca..ab6c3b0df822 100644
--- a/src/arch/x86/car.ld
+++ b/src/arch/x86/car.ld
@@ -140,7 +140,7 @@ _bogus = ASSERT((CONFIG_DCACHE_RAM_SIZE == 0) || (SIZEOF(.car.data) <= CONFIG_DC
_bogus2 = ASSERT(_pagetables == ALIGN(_pagetables, 4096), "_pagetables aren't 4KiB aligned");
#endif
_bogus3 = ASSERT(CONFIG_DCACHE_BSP_STACK_SIZE > 0x0, "BSP stack size not configured");
-#if CONFIG(NO_XIP_EARLY_STAGES) && (ENV_ROMSTAGE || ENV_VERSTAGE)
+#if CONFIG(NO_XIP_EARLY_STAGES) && (ENV_ROMSTAGE || ENV_SEPARATE_VERSTAGE)
_bogus4 = ASSERT(_eprogram <= _car_region_end, "Stage end too high !");
_bogus5 = ASSERT(_program >= _car_unallocated_start, "Stage start too low!");
#endif