From 4c76ab678ab892f30c047881c77e64cc3308f85b Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 27 Apr 2016 22:06:47 -0700 Subject: x86/memlayout.h: Do not include data/bss sections in C_ENVIRONMENT_BOOTBLOCK C_ENVIRONMENT_BOOTBLOCK on x86 is like romstage and uses cache-as-ram separately. It does not use any data/bss sections. Change-Id: I8957f467f01e754fa2d95783466a01daa6c4e51a Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/14533 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Andrey Petrov Reviewed-by: Paul Menzel Reviewed-by: Leroy P Leahy --- src/arch/x86/include/arch/memlayout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/arch/x86/include/arch/memlayout.h b/src/arch/x86/include/arch/memlayout.h index 451feb9f82..840ceb02eb 100644 --- a/src/arch/x86/include/arch/memlayout.h +++ b/src/arch/x86/include/arch/memlayout.h @@ -18,7 +18,7 @@ #include -#if ENV_ROMSTAGE || ENV_VERSTAGE +#if ENV_BOOTBLOCK || ENV_ROMSTAGE || ENV_VERSTAGE /* No .data or .bss sections. Cache as ram is handled separately. */ #define ARCH_STAGE_HAS_DATA_SECTION 0 #define ARCH_STAGE_HAS_BSS_SECTION 0 -- cgit v1.2.3