From: Jagannadha Sutradharudu Teki Date: Tue, 4 Dec 2012 18:15:04 +0000 (+0530) Subject: zynq: Enable QSPI flash environment X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ce26c096e99565234b0e6d5df46cda8f14f63ab;p=thirdparty%2Fu-boot.git zynq: Enable QSPI flash environment This patch creates QSPI flash environment of size 128KiB from 0xE0000. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index 99db3a9fd89..2c876f9916b 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -125,7 +125,6 @@ # define CONFIG_SPI_FLASH_WINBOND # define CONFIG_CMD_SPI # define CONFIG_CMD_SF -# define CONFIG_CMD_SAVEENV #endif #ifdef CONFIG_MMC @@ -152,6 +151,9 @@ # ifndef CONFIG_SYS_NO_FLASH /* Environment in NOR flash */ # define CONFIG_ENV_IS_IN_FLASH +# elif defined(CONFIG_ZYNQ_SPI) +/* Environment in Serial Flash */ +# define CONFIG_ENV_IS_IN_SPI_FLASH # endif # define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE