[U-Boot] [PATCH] rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR.
Christoph Muellner
christoph.muellner at theobroma-systems.com
Tue May 7 08:37:22 UTC 2019
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 at theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner at 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 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
--
2.11.0
More information about the U-Boot
mailing list