From: Jagannadha Sutradharudu Teki Date: Tue, 4 Dec 2012 18:15:03 +0000 (+0530) Subject: zynq: Update the NOR flash environment offset X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=083b4f002a260bf8e93a2e7225d5c980db974dfc;p=thirdparty%2Fu-boot.git zynq: Update the NOR flash environment offset This patch changed the NOR flash environment offset to 0xE0000. Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Michal Simek --- diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index abb9fbd1cf0..aa2e54515fb 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -117,10 +117,11 @@ # undef CONFIG_SYS_FLASH_PROTECTION /* don't use hardware protection */ # define CONFIG_SYS_FLASH_USE_BUFFER_WRITE /* use buffered writes (20x faster) */ +/* Environment in NOR flash */ # ifndef CONFIG_ENV_IS_NOWHERE -# define CONFIG_ENV_OFFSET 0xC0000 /*768 KB*/ -# define CONFIG_ENV_SECT_SIZE 0x20000 /*128 KB*/ # define CONFIG_ENV_IS_IN_FLASH +# define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE +# define CONFIG_ENV_OFFSET 0xE0000 # define CONFIG_CMD_SAVEENV /* Command to save ENV to Flash */ # endif #endif