From abe919ec5487bda93245369eb103b20e182fd8b5 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 18 Sep 2015 23:49:12 +0200 Subject: rockchip: firefly: Save the environment on SD card Save the environment on the SD card for Firefly in the empty space between the SPL and the u-boot image. Signed-off-by: Sjoerd Simons Acked-by: Simon Glass --- include/configs/firefly-rk3288.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/configs/firefly-rk3288.h') diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h index a82adc852d..4c5c4ddefd 100644 --- a/include/configs/firefly-rk3288.h +++ b/include/configs/firefly-rk3288.h @@ -11,4 +11,12 @@ #define CONFIG_SPL_MMC_SUPPORT +#define CONFIG_ENV_IS_IN_MMC +#define CONFIG_SYS_MMC_ENV_DEV 0 +/* SPL @ 32k for ~36k + * ENV @ 96k + * u-boot @ 128K + */ +#define CONFIG_ENV_OFFSET (96 * 1024) + #endif -- cgit v1.2.1