[U-Boot] [PATCH v2 1/3] env: add support to sunxi save env to spi flash

Oskari Lemmela oskari at lemmela.net
Thu Aug 1 19:50:35 UTC 2019


CONFIG_ENV_SECT_SIZE value is defined via Kconfig.

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

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



More information about the U-Boot mailing list