[U-Boot] rockchip: board: puma-rk3399: define ENV_SIZE for SPI FLASH

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Thu Dec 7 20:18:33 UTC 2017


> be942f2e0d introduced a common CONFIG_ENV_SIZE of 32k in rockchip-common.h
> On puma-rk3399 with ENV_IN_SPI active we place the environment in the
> gap between SPL and the FIT image. Previously undefined it defaulted to
> one sector defined with CONFIG_ENV_SECT_SIZE. With the now larger
> environment a saveenv overwrites the FIT image. Therefore we now
> redefine CONFIG_ENV_SIZE if build for ENV_IS_IN_SPI_FLASH.
> 
> Signed-off-by: Klaus Goger <klaus.goger at theobroma-systems.com>
> ---
> 
>  include/configs/puma_rk3399.h | 2 ++
>  1 file changed, 2 insertions(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list