diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:21:59 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-15 20:50:01 -0400 |
commit | c1c3fe23070ac924e65208abbf8d2396bcc08008 (patch) | |
tree | 29ce01ae60c101aab6b94ab40839ae061feb8f87 /configs | |
parent | 4415f1d1f1c57d43f6bc8ff156554c2b2da45b52 (diff) | |
download | u-boot-c1c3fe23070ac924e65208abbf8d2396bcc08008.tar.gz u-boot-c1c3fe23070ac924e65208abbf8d2396bcc08008.tar.bz2 u-boot-c1c3fe23070ac924e65208abbf8d2396bcc08008.zip |
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>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/boston32r2_defconfig | 1 | ||||
-rw-r--r-- | configs/boston32r2el_defconfig | 1 | ||||
-rw-r--r-- | configs/boston64r2_defconfig | 1 | ||||
-rw-r--r-- | configs/boston64r2el_defconfig | 1 | ||||
-rw-r--r-- | configs/edison_defconfig | 1 | ||||
-rw-r--r-- | configs/malta64_defconfig | 1 | ||||
-rw-r--r-- | configs/malta64el_defconfig | 1 | ||||
-rw-r--r-- | configs/malta_defconfig | 1 | ||||
-rw-r--r-- | configs/maltael_defconfig | 1 | ||||
-rw-r--r-- | configs/microblaze-generic_defconfig | 1 | ||||
-rw-r--r-- | configs/qemu_mips64_defconfig | 1 | ||||
-rw-r--r-- | configs/qemu_mips64el_defconfig | 1 | ||||
-rw-r--r-- | configs/qemu_mips_defconfig | 1 | ||||
-rw-r--r-- | configs/qemu_mipsel_defconfig | 1 | ||||
-rw-r--r-- | configs/r8a7795_ulcb_defconfig | 1 | ||||
-rw-r--r-- | configs/r8a7796_ulcb_defconfig | 1 |
16 files changed, 16 insertions, 0 deletions
diff --git a/configs/boston32r2_defconfig b/configs/boston32r2_defconfig index 312924983d..48983f59a1 100644 --- a/configs/boston32r2_defconfig +++ b/configs/boston32r2_defconfig @@ -38,3 +38,4 @@ CONFIG_DM_PCI=y CONFIG_PCI_XILINX=y CONFIG_SYS_NS16550=y CONFIG_LZ4=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/boston32r2el_defconfig b/configs/boston32r2el_defconfig index ee47e2c738..0e1cf29b43 100644 --- a/configs/boston32r2el_defconfig +++ b/configs/boston32r2el_defconfig @@ -39,3 +39,4 @@ CONFIG_DM_PCI=y CONFIG_PCI_XILINX=y CONFIG_SYS_NS16550=y CONFIG_LZ4=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/boston64r2_defconfig b/configs/boston64r2_defconfig index a98fe97fb5..5010a0e104 100644 --- a/configs/boston64r2_defconfig +++ b/configs/boston64r2_defconfig @@ -39,3 +39,4 @@ CONFIG_DM_PCI=y CONFIG_PCI_XILINX=y CONFIG_SYS_NS16550=y CONFIG_LZ4=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/boston64r2el_defconfig b/configs/boston64r2el_defconfig index a361447b9a..ae090bf4aa 100644 --- a/configs/boston64r2el_defconfig +++ b/configs/boston64r2el_defconfig @@ -40,3 +40,4 @@ CONFIG_DM_PCI=y CONFIG_PCI_XILINX=y CONFIG_SYS_NS16550=y CONFIG_LZ4=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/edison_defconfig b/configs/edison_defconfig index b55cc78e04..0aa7a45a91 100644 --- a/configs/edison_defconfig +++ b/configs/edison_defconfig @@ -24,6 +24,7 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y CONFIG_OF_EMBED=y +CONFIG_ENV_IS_IN_MMC=y CONFIG_CPU=y CONFIG_DFU_MMC=y CONFIG_DFU_RAM=y diff --git a/configs/malta64_defconfig b/configs/malta64_defconfig index c70c1cc6c4..9a4ef2746b 100644 --- a/configs/malta64_defconfig +++ b/configs/malta64_defconfig @@ -21,3 +21,4 @@ CONFIG_OF_EMBED=y CONFIG_MTD_NOR_FLASH=y CONFIG_PCI=y CONFIG_SYS_NS16550=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/malta64el_defconfig b/configs/malta64el_defconfig index a05d76d005..1d076d46fa 100644 --- a/configs/malta64el_defconfig +++ b/configs/malta64el_defconfig @@ -22,3 +22,4 @@ CONFIG_OF_EMBED=y CONFIG_MTD_NOR_FLASH=y CONFIG_PCI=y CONFIG_SYS_NS16550=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/malta_defconfig b/configs/malta_defconfig index f0a0f209d7..6c7034e11d 100644 --- a/configs/malta_defconfig +++ b/configs/malta_defconfig @@ -20,3 +20,4 @@ CONFIG_OF_EMBED=y CONFIG_MTD_NOR_FLASH=y CONFIG_PCI=y CONFIG_SYS_NS16550=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/maltael_defconfig b/configs/maltael_defconfig index dcbd5d0cd7..c19f9256aa 100644 --- a/configs/maltael_defconfig +++ b/configs/maltael_defconfig @@ -21,3 +21,4 @@ CONFIG_OF_EMBED=y CONFIG_MTD_NOR_FLASH=y CONFIG_PCI=y CONFIG_SYS_NS16550=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig index 1036abec57..953801e6d0 100644 --- a/configs/microblaze-generic_defconfig +++ b/configs/microblaze-generic_defconfig @@ -37,6 +37,7 @@ CONFIG_CMD_UBI=y # CONFIG_CMD_UBIFS is not set CONFIG_SPL_OF_CONTROL=y CONFIG_OF_EMBED=y +CONFIG_ENV_IS_IN_FLASH=y CONFIG_NETCONSOLE=y CONFIG_SPL_DM=y CONFIG_MTD_NOR_FLASH=y diff --git a/configs/qemu_mips64_defconfig b/configs/qemu_mips64_defconfig index 6835cf1c5c..4262934939 100644 --- a/configs/qemu_mips64_defconfig +++ b/configs/qemu_mips64_defconfig @@ -16,3 +16,4 @@ CONFIG_CMD_FAT=y CONFIG_MTD_NOR_FLASH=y CONFIG_SYS_NS16550=y CONFIG_LZMA=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/qemu_mips64el_defconfig b/configs/qemu_mips64el_defconfig index 60bd6164fc..60278358a9 100644 --- a/configs/qemu_mips64el_defconfig +++ b/configs/qemu_mips64el_defconfig @@ -17,3 +17,4 @@ CONFIG_CMD_FAT=y CONFIG_MTD_NOR_FLASH=y CONFIG_SYS_NS16550=y CONFIG_LZMA=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/qemu_mips_defconfig b/configs/qemu_mips_defconfig index c6f08b4efb..cedb9060c5 100644 --- a/configs/qemu_mips_defconfig +++ b/configs/qemu_mips_defconfig @@ -14,3 +14,4 @@ CONFIG_CMD_FAT=y CONFIG_MTD_NOR_FLASH=y CONFIG_SYS_NS16550=y CONFIG_LZMA=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/qemu_mipsel_defconfig b/configs/qemu_mipsel_defconfig index b8c206971d..5bb84da5ae 100644 --- a/configs/qemu_mipsel_defconfig +++ b/configs/qemu_mipsel_defconfig @@ -15,3 +15,4 @@ CONFIG_CMD_FAT=y CONFIG_MTD_NOR_FLASH=y CONFIG_SYS_NS16550=y CONFIG_LZMA=y +CONFIG_ENV_IS_IN_FLASH=y diff --git a/configs/r8a7795_ulcb_defconfig b/configs/r8a7795_ulcb_defconfig index 6e967f5dd8..8b6b03ba32 100644 --- a/configs/r8a7795_ulcb_defconfig +++ b/configs/r8a7795_ulcb_defconfig @@ -17,6 +17,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_OF_CONTROL=y +CONFIG_ENV_IS_IN_MMC=y CONFIG_CLK=y CONFIG_CLK_RENESAS=y CONFIG_SH_SDHI=y diff --git a/configs/r8a7796_ulcb_defconfig b/configs/r8a7796_ulcb_defconfig index 62ec2a5d94..bc995deea0 100644 --- a/configs/r8a7796_ulcb_defconfig +++ b/configs/r8a7796_ulcb_defconfig @@ -18,6 +18,7 @@ CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y CONFIG_OF_CONTROL=y +CONFIG_ENV_IS_IN_MMC=y CONFIG_CLK=y CONFIG_CLK_RENESAS=y CONFIG_SH_SDHI=y |