summaryrefslogtreecommitdiff
path: root/include/configs/zynq-common.h
diff options
context:
space:
mode:
authorVipul Kumar <vipul.kumar@xilinx.com>2018-07-17 19:00:34 +0530
committerMichal Simek <michal.simek@xilinx.com>2018-07-19 10:49:56 +0200
commit2a30809cae098d8d2d4af7c5fba059993ef5f10e (patch)
tree09f1b07eeddd2ada38ad60f680b731e19115aec6 /include/configs/zynq-common.h
parent1c310aec671e7cde9cd255b2ffbc6089ee7ac53b (diff)
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 <vipul.kumar@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'include/configs/zynq-common.h')
-rw-r--r--include/configs/zynq-common.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index a6f2aceea1..c41dc2c907 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