summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2018-01-23 21:17:04 +0100
committerTom Rini <trini@konsulko.com>2018-01-27 09:23:32 -0500
commit0163c9186b161682a46bd7ae3c2e6ffe275bb1f8 (patch)
tree01645f6998ab9039331c984af64c4ea84d964d46 /env
parentb39117cad9d7a0c48fbcb5963f9bce36ba37cd39 (diff)
downloadu-boot-0163c9186b161682a46bd7ae3c2e6ffe275bb1f8.tar.gz
env: sunxi: Enable FAT-based environment support by default
Now that we have everything in place to implement the transition scheme, let's enable it by default. Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index ed039efc19..a3c6298273 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -55,6 +55,7 @@ config ENV_IS_IN_FAT
bool "Environment is in a FAT filesystem"
depends on !CHAIN_OF_TRUST
default y if ARCH_BCM283X
+ default y if ARCH_SUNXI && MMC
default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS
select FS_FAT
select FAT_WRITE
@@ -368,6 +369,7 @@ config ENV_IS_IN_UBI
config ENV_FAT_INTERFACE
string "Name of the block device for the environment"
depends on ENV_IS_IN_FAT
+ default "mmc" if ARCH_SUNXI
default "mmc" if TI_COMMON_CMD_OPTIONS || ARCH_ZYNQMP || ARCH_AT91
help
Define this to a string that is the name of the block device.
@@ -377,6 +379,8 @@ config ENV_FAT_DEVICE_AND_PART
depends on ENV_IS_IN_FAT
default "0:1" if TI_COMMON_CMD_OPTIONS
default "0:auto" if ARCH_ZYNQMP
+ default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1
+ default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1
default "0" if ARCH_AT91
help
Define this to a string to specify the partition of the device. It can