]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Tue, 7 May 2019 08:37:22 +0000 (10:37 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 May 2019 10:22:35 +0000 (18:22 +0800)
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 <jakob.unterwurzacher@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/theobroma-systems/puma_rk3399/Kconfig

index 8a94cbd9edbaacd973c35771ac26e2a7ab582983..9e2325275494090fc594f2e803cc69a2d509ce48 100644 (file)
@@ -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