[U-Boot] [PATCH] env: add support to sunxi save env to spi

Oskari Lemmela oskari at lemmela.net
Sun Mar 17 18:49:12 UTC 2019


CONFIG_ENV_SECT_SIZE value is defined via Kconfig.

Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
---
 env/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/env/Kconfig b/env/Kconfig
index c22cbbdadc..e1070187f2 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -456,9 +456,9 @@ config ENV_SIZE
 
 config ENV_SECT_SIZE
 	hex "Environment Sector-Size"
-	depends on !ENV_IS_NOWHERE && (ARCH_ZYNQ || ARCH_ZYNQMP)
+	depends on !ENV_IS_NOWHERE && (ARCH_ZYNQ || ARCH_ZYNQMP || ARCH_SUNXI )
 	default 0x40000 if ARCH_ZYNQMP
-	default 0x20000 if ARCH_ZYNQ
+	default 0x20000 if ARCH_ZYNQ || ARCH_SUNXI
 	help
 	  Size of the sector containing the environment.
 
-- 
2.17.1



More information about the U-Boot mailing list