public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
To: u-boot@lists.denx.de
Subject: [PATCH] rockchip: rk3399-puma: Increase environment size to 16 kiB.
Date: Fri, 19 Feb 2021 11:16:20 +0100	[thread overview]
Message-ID: <9210847.aoefvbuG5b@diego> (raw)
In-Reply-To: <20210219003002.318548-1-christoph.muellner@theobroma-systems.com>

Am Freitag, 19. Februar 2021, 01:30:02 CET schrieb Christoph Muellner:
> On Puma we have the environment at an offset of 16 kiB.
> On the eMMC this gives us 16 kiB for the environment before the SPL starts.
> On the SPI NOR we also have 16 kiB until end of flash.
> So let's increase the environment size from 8 kiB to its maximum
> of 16 kiB for both MMC and SPI NOR.
> 
> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>

as that area would otherwise be simply wasted, this looks like a nice addition

Reviewed-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>

> ---
> 
>  board/theobroma-systems/puma_rk3399/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/theobroma-systems/puma_rk3399/Kconfig b/board/theobroma-systems/puma_rk3399/Kconfig
> index e82623a1701..21946d984da 100644
> --- a/board/theobroma-systems/puma_rk3399/Kconfig
> +++ b/board/theobroma-systems/puma_rk3399/Kconfig
> @@ -13,7 +13,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
>  	def_bool y
>  
>  config ENV_SIZE
> -	default 0x2000
> +	default 0x4000
>  
>  config ENV_OFFSET
>  	default 0x3fc000 if ENV_IS_IN_SPI_FLASH
> 

      reply	other threads:[~2021-02-19 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-19  0:30 [PATCH] rockchip: rk3399-puma: Increase environment size to 16 kiB Christoph Muellner
2021-02-19 10:16 ` Heiko Stuebner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9210847.aoefvbuG5b@diego \
    --to=heiko.stuebner@theobroma-systems.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox