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 <furquan@google.com> Reviewed-on: https://review.coreboot.org/14533 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Andrey Petrov <andrey.petrov@intel.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Leroy P Leahy <leroy.p.leahy@intel.com>
This commit is contained in:
		| @@ -18,7 +18,7 @@ | ||||
|  | ||||
| #include <rules.h> | ||||
|  | ||||
| #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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user