]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3399-puma: Increase environment size to 16 kiB.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Fri, 19 Feb 2021 00:30:02 +0000 (01:30 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 30 Mar 2021 08:53:00 +0000 (16:53 +0800)
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>
Reviewed-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/theobroma-systems/puma_rk3399/Kconfig

index e82623a1701e140b635827f34ca574e15b31dc26..21946d984da93cc683864a614aee4c26a785ccc2 100644 (file)
@@ -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