From c3ca8ed09279fbbf5d9c6099720c3d382a1fcfa4 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 8 May 2023 17:04:45 +0200 Subject: arch/x86/car.ld: Fix undefined macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Processing LD flags is done without most warnings enabled, which is why this never caused problems. Signed-off-by: Arthur Heymans Change-Id: Ic9d82c1426a1c1d2f21c8e7560685cf9d7106a88 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75033 Reviewed-by: Kyösti Mälkki Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- src/arch/x86/car.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86') 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 -- cgit v1.2.3