From: Christoph Muellner Date: Tue, 7 May 2019 08:37:22 +0000 (+0200) Subject: rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR. X-Git-Tag: v2019.07-rc4~14^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9828ed6259595e938e50455e8f45d018a19b7770;p=oweals%2Fu-boot.git rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR. Puma SoMs have a 4 MB SPI NOR flash. Therefore we can move the environment to the end of the flash (4 MiB - 16 kiB) in order to not overlap with SPL. Reported-by: Jakob Unterwurzacher Signed-off-by: Christoph Muellner Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- diff --git a/board/theobroma-systems/puma_rk3399/Kconfig b/board/theobroma-systems/puma_rk3399/Kconfig index 8a94cbd9ed..9e23252754 100644 --- a/board/theobroma-systems/puma_rk3399/Kconfig +++ b/board/theobroma-systems/puma_rk3399/Kconfig @@ -16,6 +16,6 @@ config ENV_SIZE default 0x2000 config ENV_OFFSET - default 0x3c000 if ENV_IS_IN_SPI_FLASH + default 0x3fc000 if ENV_IS_IN_SPI_FLASH endif