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
@ -47,7 +47,7 @@ static struct bdk_devicetree_key_value *bdk_config_duplicate(
|
||||
*/
|
||||
int bdk_config_set_fdt(const struct bdk_devicetree_key_value *fdt)
|
||||
{
|
||||
if (ENV_STAGE_HAS_HEAP_SECTION)
|
||||
if (ENV_HAS_HEAP_SECTION)
|
||||
config_fdt = bdk_config_duplicate(fdt, 0);
|
||||
else
|
||||
config_fdt = (void *)fdt;
|
||||
@ -203,7 +203,7 @@ void bdk_config_set_int(int64_t value, bdk_config_t cfg_item, ...)
|
||||
/* Make sure the correct access function was called */
|
||||
assert(config_info[cfg_item].ctype == BDK_CONFIG_TYPE_INT);
|
||||
|
||||
if (!ENV_STAGE_HAS_HEAP_SECTION)
|
||||
if (!ENV_HAS_HEAP_SECTION)
|
||||
return;
|
||||
|
||||
if (!config_fdt)
|
||||
|
Reference in New Issue
Block a user