diff options
author | Simon Glass | 2017-08-03 12:21:59 -0600 |
---|---|---|
committer | Tom Rini | 2017-08-15 20:50:01 -0400 |
commit | c1c3fe23070ac924e65208abbf8d2396bcc08008 (patch) | |
tree | 29ce01ae60c101aab6b94ab40839ae061feb8f87 /configs | |
parent | 4415f1d1f1c57d43f6bc8ff156554c2b2da45b52 (diff) |
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 312924983dc..48983f59a16 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 ee47e2c738d..0e1cf29b43c 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 a98fe97fb54..5010a0e104f 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 a361447b9a4..ae090bf4aa1 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 b55cc78e045..0aa7a45a915 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 c70c1cc6c46..9a4ef2746b1 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 a05d76d005b..1d076d46fa5 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 f0a0f209d7a..6c7034e11d0 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 dcbd5d0cd74..c19f9256aa1 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 1036abec574..953801e6d0c 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 6835cf1c5ce..42629349397 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 60bd6164fce..60278358a9f 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 c6f08b4efb7..cedb9060c5c 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 b8c206971d7..5bb84da5ae3 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 6e967f5dd82..8b6b03ba32a 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 62ec2a5d947..bc995deea05 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 |