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)
commit7653942b10e9eac61532bf635a422e3424cbcdb9
treec16477cb96b32d7d1517b5a6fb8d41c34f483faa
parent7e0ed13f47b6fcd91e1d536340a7f2d6780ffe48
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