From eaa90e5df2a4a1cb12fb73571978a9379242d0b5 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 28 Jul 2017 23:46:38 +0200 Subject: common/env_embedded.c: rename PPCENV/PPCTEXT macros The environment has pretty much nothing to do with just "PPC", so rename the macros to just __UBOOT_ENV_SECTION__ which is more readable. In addition, only a single macro is needed: the environment now goes either to the default section (USE_HOSTCC is defined) or in the .text section. Signed-off-by: Thomas Petazzoni --- include/env_default.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/env_default.h') diff --git a/include/env_default.h b/include/env_default.h index ea6704a972..acd4198443 100644 --- a/include/env_default.h +++ b/include/env_default.h @@ -11,7 +11,7 @@ #include #ifdef DEFAULT_ENV_INSTANCE_EMBEDDED -env_t environment __PPCENV__ = { +env_t environment __UBOOT_ENV_SECTION__ = { ENV_CRC, /* CRC Sum */ #ifdef CONFIG_SYS_REDUNDAND_ENVIRONMENT 1, /* Flags: valid */ -- cgit v1.2.3