rules.h: Use more consistent naming
Use 'ENV' consistently and drop the redundant 'STAGE' in the naming. Change-Id: I51f2a7e70eefad12aa214e92f23e5fd2edf46698 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/64296 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org>
This commit is contained in:
committed by
Julius Werner
parent
94223c4165
commit
6acc05ed31
@@ -19,7 +19,7 @@
|
||||
#include <thread.h>
|
||||
#include <timestamp.h>
|
||||
|
||||
#if ENV_STAGE_HAS_DATA_SECTION
|
||||
#if ENV_HAS_DATA_SECTION
|
||||
struct mem_pool cbfs_cache =
|
||||
MEM_POOL_INIT(_cbfs_cache, REGION_SIZE(cbfs_cache), CONFIG_CBFS_CACHE_ALIGN);
|
||||
#else
|
||||
@@ -363,7 +363,7 @@ static enum cb_err get_preload_rdev(struct region_device *rdev, const char *name
|
||||
enum cb_err err;
|
||||
struct cbfs_preload_context *context;
|
||||
|
||||
if (!CONFIG(CBFS_PRELOAD) || !ENV_STAGE_SUPPORTS_COOP)
|
||||
if (!CONFIG(CBFS_PRELOAD) || !ENV_SUPPORTS_COOP)
|
||||
return CB_ERR_ARG;
|
||||
|
||||
context = find_cbfs_preload_context(name);
|
||||
|
@@ -72,7 +72,7 @@
|
||||
#endif
|
||||
|
||||
/* Include data, bss, and heap in that order. Not defined for all stages. */
|
||||
#if ENV_STAGE_HAS_DATA_SECTION
|
||||
#if ENV_HAS_DATA_SECTION
|
||||
.data . : {
|
||||
. = ALIGN(ARCH_CACHELINE_ALIGN_SIZE);
|
||||
_data = .;
|
||||
@@ -130,7 +130,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
#if ENV_STAGE_HAS_HEAP_SECTION
|
||||
#if ENV_HAS_HEAP_SECTION
|
||||
.heap . : {
|
||||
. = ALIGN(ARCH_POINTER_ALIGN_SIZE);
|
||||
_heap = .;
|
||||
|
Reference in New Issue
Block a user