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 <[email protected]>
Acked-by: Philipp Tomsich <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
Tested-by: Philipp Tomsich <[email protected]>
[Reworked commit-message:]
Signed-off-by: Philipp Tomsich <[email protected]>
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