From 2a30809cae098d8d2d4af7c5fba059993ef5f10e Mon Sep 17 00:00:00 2001 From: Vipul Kumar Date: Tue, 17 Jul 2018 19:00:34 +0530 Subject: env: Added support to save env to spi through Kconfig This patch added support to enable CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET and CONFIG_ENV_SECT_SIZE through Kconfig for Zynq and Zynqmp. Signed-off-by: Vipul Kumar Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'include/configs/zynq-common.h') diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index a6f2ace..c41dc2c 100644 --- a/include/configs/zynq-common.h +++ b/include/configs/zynq-common.h @@ -121,22 +121,9 @@ # define CONFIG_SYS_EEPROM_SIZE 1024 /* Bytes */ #endif -/* Total Size of Environment Sector */ -#ifndef CONFIG_ENV_SIZE -# define CONFIG_ENV_SIZE (128 << 10) -#endif - /* Allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE -/* Environment */ -#ifndef CONFIG_ENV_IS_NOWHERE -# define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE -# ifndef CONFIG_ENV_OFFSET -# define CONFIG_ENV_OFFSET 0xE0000 -# endif -#endif - /* enable preboot to be loaded before CONFIG_BOOTDELAY */ #define CONFIG_PREBOOT -- cgit v1.1