All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] env: add support to sunxi save env to spi
@ 2019-03-17 18:49 Oskari Lemmela
  2019-03-22 10:04 ` Paul Kocialkowski
  2019-04-12  6:01 ` Jagan Teki
  0 siblings, 2 replies; 3+ messages in thread
From: Oskari Lemmela @ 2019-03-17 18:49 UTC (permalink / raw)
  To: u-boot

CONFIG_ENV_SECT_SIZE value is defined via Kconfig.

Signed-off-by: Oskari Lemmela <oskari@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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] env: add support to sunxi save env to spi
  2019-03-17 18:49 [U-Boot] [PATCH] env: add support to sunxi save env to spi Oskari Lemmela
@ 2019-03-22 10:04 ` Paul Kocialkowski
  2019-04-12  6:01 ` Jagan Teki
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Kocialkowski @ 2019-03-22 10:04 UTC (permalink / raw)
  To: u-boot

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@lemmela.net>

Looks good to me!

Reviewed-by: Paul Kocialkowski <paul.kocialkowski@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] env: add support to sunxi save env to spi
  2019-03-17 18:49 [U-Boot] [PATCH] env: add support to sunxi save env to spi Oskari Lemmela
  2019-03-22 10:04 ` Paul Kocialkowski
@ 2019-04-12  6:01 ` Jagan Teki
  1 sibling, 0 replies; 3+ messages in thread
From: Jagan Teki @ 2019-04-12  6:01 UTC (permalink / raw)
  To: u-boot

On Mon, Mar 18, 2019 at 12:19 AM Oskari Lemmela <oskari@lemmela.net> wrote:
>
> CONFIG_ENV_SECT_SIZE value is defined via Kconfig.
>

Would be great if we have a detailed information flash layout, so-that
we can find where will env resides.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-12  6:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-17 18:49 [U-Boot] [PATCH] env: add support to sunxi save env to spi Oskari Lemmela
2019-03-22 10:04 ` Paul Kocialkowski
2019-04-12  6:01 ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.