[U-Boot] [PATCH] env: add support to sunxi save env to spi
Paul Kocialkowski
paul.kocialkowski at bootlin.com
Fri Mar 22 10:04:10 UTC 2019
Hi,
Le dimanche 17 mars 2019 à 20:49 +0200, Oskari Lemmela a écrit :
> CONFIG_ENV_SECT_SIZE value is defined via Kconfig.
>
> Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
Looks good to me!
Reviewed-by: Paul Kocialkowski <paul.kocialkowski at bootlin.com>
Cheers,
Paul
> ---
> 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.
>
--
Paul Kocialkowski, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com
More information about the U-Boot
mailing list