]> git.baikalelectronics.ru Git - uboot.git/commit
common/env_embedded.c: drop support for CONFIG_SYS_USE_PPCENV
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 28 Jul 2017 21:46:37 +0000 (23:46 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 5 Aug 2017 00:38:39 +0000 (20:38 -0400)
commite428536eac3a9df5b5392d0b9db0b3ec2067628f
treec16477cb96b32d7d1517b5a6fb8d41c34f483faa
parentddecaf0b19cc33fbe804730547ffdfefa828b9fe
common/env_embedded.c: drop support for CONFIG_SYS_USE_PPCENV

CONFIG_SYS_USE_PPCENV is no longer used anywhere. It was used to put
the environment in the special .ppcenv section, but the last
architecture using this section (SuperH) has been changed to not use
it.

Therefore, this commit drops support for CONFIG_SYS_USE_PPCENV
entirely. We only handle two cases:

 - We're building the host tool tools/envcrc, in which case the
   environment is place with no special section attribute (so it
   depends up in .data)

 - We're building U-Boot itself, in which case the environnement is
   placed in the .text section.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
common/env_embedded.c