From: Andre Przywara Date: Wed, 4 Apr 2018 00:31:21 +0000 (+0100) Subject: sunxi: disable direct MMC environment X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=901fb09d01b80c0ddf923078c364a6b55ed43d1d;p=u-boot.git sunxi: disable direct MMC environment Since the dawn of time for the Allwinner support in mainline U-Boot we store the environment to the SD card and write directly at 544KB from the beginning of the device. This leads to problems when the U-Boot proper image grows beyond 504KB and eventually overlaps. With one release of having the environment preferably in a FAT partition, let's now turn off the MMC variant fallback, so we get back all the space we need to implement features. Signed-off-by: Andre Przywara Reviewed-by: Jagan Teki Acked-by: Maxime Ripard --- diff --git a/env/Kconfig b/env/Kconfig index a3c6298273..0c1e928f13 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -152,7 +152,6 @@ config ENV_IS_IN_MMC bool "Environment in an MMC device" depends on !CHAIN_OF_TRUST depends on MMC - default y if ARCH_SUNXI default y if ARCH_EXYNOS4 default y if MX6SX || MX7D default y if TEGRA30 || TEGRA124