diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2023-05-08 17:04:45 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-05-09 18:15:45 +0000 |
commit | c3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4 (patch) | |
tree | 089cf5cb840a4b009748c1461c35215a9aad71f3 /src/arch/x86 | |
parent | 83faa5d804d183a26b0fa66b5d55bbe5f3b72c89 (diff) |
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/arch/x86')
-rw-r--r-- | src/arch/x86/car.ld | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/car.ld b/src/arch/x86/car.ld index e621dd45d2..ab6c3b0df8 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 |