#define CONFIG_ZYNQ_SERIAL_UART1
#define _CONFIG_CMD_DEFAULT_H
#define CONFIG_SKIP_LOWLEVEL_INIT
-#define CONFIG_ENV_IS_NOWHERE
#define CONFIG_SYS_DCACHE_OFF
#define CONFIG_SYS_ICACHE_OFF
#define CONFIG_ZYNQ_OCM
#define CONFIG_ZYNQ_SDHCI0
#define CONFIG_ZYNQ_QSPI
+#define CONFIG_ZYNQ_EEPROM
#include <configs/zynq-common.h>
#undef CONFIG_FAT_WRITE
#undef CONFIG_CMD_EXT4
#undef CONFIG_CMD_EXT4_WRITE
+#undef CONFIG_ENV_IS_IN_SPI_FLASH
+#undef CONFIG_ENV_OFFSET
+#undef CONFIG_ENV_SECT_SIZE
/* Define needed configs */
#define CONFIG_CMD_MEMORY
#define CONFIG_BOOTDELAY -1 /* -1 to Disable autoboot */
#define CONFIG_SYS_MALLOC_LEN 0x4000
+#define CONFIG_ENV_IS_IN_EEPROM
+#define CONFIG_ENV_OFFSET 0x0
+#define CONFIG_ENV_SECT_SIZE 255
+#define CONFIG_ENV_SIZE 1000
#define CONFIG_SYS_SDRAM_SIZE ((256 * 1024) - 32)
#define CONFIG_SYS_SDRAM_BASE 0xFFFC0000
-#define CONFIG_ENV_SIZE 1400
#define FAT_BUFF_PTR_OCM 0xFFFC5000
/* Define the cluster size fat filesystem */