[U-Boot] [PATCH] rockchip: rk3399-puma: reduce env size to 8kiB

...even when the environment is saved to SD card.
With the default of 32kiB, the environment overwrites the SPL stage which lives at 16kiB.
Signed-off-by: Jakob Unterwurzacher jakob.unterwurzacher@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 80b3460d4c..8a94cbd9ed 100644 --- a/board/theobroma-systems/puma_rk3399/Kconfig +++ b/board/theobroma-systems/puma_rk3399/Kconfig @@ -13,7 +13,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy def_bool y
config ENV_SIZE - default 0x2000 if ENV_IS_IN_SPI_FLASH + default 0x2000
config ENV_OFFSET default 0x3c000 if ENV_IS_IN_SPI_FLASH

...even when the environment is saved to SD card.
With the default of 32kiB, the environment overwrites the SPL stage which lives at 16kiB.
Signed-off-by: Jakob Unterwurzacher jakob.unterwurzacher@theobroma-systems.com
board/theobroma-systems/puma_rk3399/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com

On Thu, 21 Dec 2017, Jakob Unterwurzacher wrote:
...even when the environment is saved to SD card.
Please don't start a commit message with an ellipsis, but rather with a regular sentence.
I'll fix this, when I apply the patch (... this time).
With the default of 32kiB, the environment overwrites the SPL stage which lives at 16kiB.
Signed-off-by: Jakob Unterwurzacher jakob.unterwurzacher@theobroma-systems.com Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Tested-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com

...even when the environment is saved to SD card.
With the default of 32kiB, the environment overwrites the SPL stage which lives at 16kiB.
Signed-off-by: Jakob Unterwurzacher jakob.unterwurzacher@theobroma-systems.com Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Tested-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
board/theobroma-systems/puma_rk3399/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-rockchip, thanks!

...even when the environment is saved to SD card.
With the default of 32kiB, the environment overwrites the SPL stage which lives at 16kiB.
Signed-off-by: Jakob Unterwurzacher jakob.unterwurzacher@theobroma-systems.com Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Tested-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
board/theobroma-systems/puma_rk3399/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
participants (2)
-
Jakob Unterwurzacher
-
Philipp Tomsich