mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:
@ -28,7 +28,6 @@ config MPC86xx
|
||||
bool "MPC86xx"
|
||||
select SYS_FSL_DDR
|
||||
select SYS_FSL_DDR_BE
|
||||
imply ENV_IS_IN_FLASH
|
||||
imply CMD_REGINFO
|
||||
|
||||
config 8xx
|
||||
|
@ -13,7 +13,6 @@ config TARGET_MPC8308_P1M
|
||||
|
||||
config TARGET_SBC8349
|
||||
bool "Support sbc8349"
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_VE8313
|
||||
bool "Support ve8313"
|
||||
@ -40,7 +39,6 @@ config TARGET_MPC8323ERDB
|
||||
config TARGET_MPC832XEMDS
|
||||
bool "Support MPC832XEMDS"
|
||||
select BOARD_EARLY_INIT_F
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_MPC8349EMDS
|
||||
bool "Support MPC8349EMDS"
|
||||
@ -52,7 +50,6 @@ config TARGET_MPC8349EMDS
|
||||
config TARGET_MPC8349ITX
|
||||
bool "Support MPC8349ITX"
|
||||
imply CMD_IRQ
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_MPC837XEMDS
|
||||
bool "Support MPC837XEMDS"
|
||||
@ -77,13 +74,11 @@ config TARGET_SUVD3
|
||||
bool "Support suvd3"
|
||||
imply CMD_CRAMFS
|
||||
imply FS_CRAMFS
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_TUXX1
|
||||
bool "Support tuxx1"
|
||||
imply CMD_CRAMFS
|
||||
imply FS_CRAMFS
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_TQM834X
|
||||
bool "Support TQM834x"
|
||||
@ -95,7 +90,6 @@ config TARGET_HRCON
|
||||
config TARGET_STRIDER
|
||||
bool "Support strider"
|
||||
select SYS_FSL_ERRATUM_ESDHC111
|
||||
imply ENV_IS_IN_FLASH
|
||||
imply CMD_PCA953X
|
||||
|
||||
endchoice
|
||||
|
@ -19,7 +19,6 @@ choice
|
||||
config TARGET_SBC8548
|
||||
bool "Support sbc8548"
|
||||
select ARCH_MPC8548
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_SOCRATES
|
||||
bool "Support socrates"
|
||||
@ -105,7 +104,6 @@ config TARGET_MPC8544DS
|
||||
config TARGET_MPC8548CDS
|
||||
bool "Support MPC8548CDS"
|
||||
select ARCH_MPC8548
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config TARGET_MPC8555CDS
|
||||
bool "Support MPC8555CDS"
|
||||
@ -565,7 +563,6 @@ config ARCH_MPC8548
|
||||
select SYS_FSL_SEC_BE
|
||||
select SYS_FSL_SEC_COMPAT_2
|
||||
select SYS_PPC_E500_USE_DEBUG_TLB
|
||||
imply ENV_IS_IN_FLASH
|
||||
imply CMD_REGINFO
|
||||
|
||||
config ARCH_MPC8555
|
||||
@ -616,7 +613,6 @@ config ARCH_MPC8572
|
||||
select SYS_PPC_E500_USE_DEBUG_TLB
|
||||
select FSL_ELBC
|
||||
imply CMD_NAND
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config ARCH_P1010
|
||||
bool
|
||||
|
@ -40,7 +40,6 @@ config ARCH_MPC8641
|
||||
select FSL_LAW
|
||||
select SYS_FSL_HAS_DDR1
|
||||
select SYS_FSL_HAS_DDR2
|
||||
imply ENV_IS_IN_FLASH
|
||||
|
||||
config FSL_LAW
|
||||
bool
|
||||
|
Reference in New Issue
Block a user