summaryrefslogtreecommitdiff
path: root/include/env_default.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-28 23:46:38 +0200
committerTom Rini <trini@konsulko.com>2017-08-04 20:38:39 -0400
commiteaa90e5df2a4a1cb12fb73571978a9379242d0b5 (patch)
tree29117684749a536532ca287af2daece03592a126 /include/env_default.h
parent7653942b10e9eac61532bf635a422e3424cbcdb9 (diff)
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 <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'include/env_default.h')
-rw-r--r--include/env_default.h2
1 files changed, 1 insertions, 1 deletions
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 <env_callback.h>
#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 */