]> git.baikalelectronics.ru Git - uboot.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)
commit55548f1675d5d0a7f82381506ac42040058895bb
tree29ce01ae60c101aab6b94ab40839ae061feb8f87
parentdd39ea92c1be046dba49445ff9b7a87d10d6fe0e
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