summaryrefslogtreecommitdiff
path: root/board/theobroma-systems/puma_rk3399
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-05-07 10:37:22 +0200
committerKever Yang <kever.yang@rock-chips.com>2019-05-30 18:22:35 +0800
commit9828ed6259595e938e50455e8f45d018a19b7770 (patch)
treedcc6da1fc7473b832f59f778f477732107f9981d /board/theobroma-systems/puma_rk3399
parente2822ccc2c7c0ba8d7d959a1fa1e6221ed135423 (diff)
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 <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>
Diffstat (limited to 'board/theobroma-systems/puma_rk3399')
-rw-r--r--board/theobroma-systems/puma_rk3399/Kconfig2
1 files changed, 1 insertions, 1 deletions
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