rockchip: rk3399-puma: reduce env size to 8kiB
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Thu, 21 Dec 2017 10:03:01 +0000 (11:03 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Mon, 1 Jan 2018 13:45:37 +0000 (14:45 +0100)
This commit changes the size of the enviroment (for the RK3399-Q7) to
8kiB for all possible locations of the environment (i.e. 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>
[Reworked commit-message:]
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
board/theobroma-systems/puma_rk3399/Kconfig

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