]> git.ipfire.org Git - people/ms/u-boot.git/commit
env: Convert CONFIG_ENV_IS_IN... to a choice
authorSimon Glass <sjg@chromium.org>
Thu, 3 Aug 2017 18:21:59 +0000 (12:21 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 16 Aug 2017 00:50:01 +0000 (20:50 -0400)
commitc1c3fe23070ac924e65208abbf8d2396bcc08008
tree29ce01ae60c101aab6b94ab40839ae061feb8f87
parent4415f1d1f1c57d43f6bc8ff156554c2b2da45b52
env: Convert CONFIG_ENV_IS_IN... to a choice

At present we support multiple environment drivers but there is not way to
select between them at run time. Also settings related to the position and
size of the environment area are global (i.e. apply to all locations).

Until these limitations are removed we cannot really support more than one
environment location. Adjust the location to be a choice so that only one
can be selected. By default the environment is 'nowhere', meaning that the
environment exists only in memory and cannot be saved.

Also expand the help for the 'nowhere' option and move it to the top since
it is the default.

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Move all of the imply logic to default X if Y so it works again]
Signed-off-by: Tom Rini <trini@konsulko.com>
42 files changed:
arch/arm/Kconfig
arch/arm/mach-exynos/Kconfig
arch/arm/mach-imx/mx6/Kconfig
arch/arm/mach-imx/mx7/Kconfig
arch/arm/mach-integrator/Kconfig
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-sunxi/Kconfig
arch/arm/mach-tegra/Kconfig
arch/m68k/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
arch/powerpc/cpu/mpc83xx/Kconfig
arch/powerpc/cpu/mpc85xx/Kconfig
arch/powerpc/cpu/mpc86xx/Kconfig
arch/sh/Kconfig
arch/x86/cpu/baytrail/Kconfig
arch/x86/cpu/broadwell/Kconfig
arch/x86/cpu/coreboot/Kconfig
arch/x86/cpu/ivybridge/Kconfig
arch/x86/cpu/qemu/Kconfig
arch/x86/cpu/quark/Kconfig
arch/x86/cpu/queensbay/Kconfig
board/ti/common/Kconfig
configs/boston32r2_defconfig
configs/boston32r2el_defconfig
configs/boston64r2_defconfig
configs/boston64r2el_defconfig
configs/edison_defconfig
configs/malta64_defconfig
configs/malta64el_defconfig
configs/malta_defconfig
configs/maltael_defconfig
configs/microblaze-generic_defconfig
configs/qemu_mips64_defconfig
configs/qemu_mips64el_defconfig
configs/qemu_mips_defconfig
configs/qemu_mipsel_defconfig
configs/r8a7795_ulcb_defconfig
configs/r8a7796_ulcb_defconfig
env/Kconfig
include/configs/edison.h
include/configs/ulcb.h