From: Jagannadha Sutradharudu Teki <jaga...@xilinx.com>

Added nand environment support - last 128Kb sector of
1st 1MB of nand can be used for u-boot environment.

Signed-off-by: Siva Durga Prasad Paladugu <siva...@xilinx.com>
Signed-off-by: Jagannadha Sutradharudu Teki <jaga...@xilinx.com>
---
Changes for v3:
-Separated out the nand patch series
 as per Michal comment.
Changes for v2:
-None
---
 include/configs/zynq-common.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 068e59a..971a088 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -149,6 +149,8 @@
 #ifndef CONFIG_ENV_IS_NOWHERE
 # ifndef CONFIG_SYS_NO_FLASH
 #  define CONFIG_ENV_IS_IN_FLASH
+# elif defined(CONFIG_NAND_ZYNQ)
+#  define CONFIG_ENV_IS_IN_NAND
 # elif defined(CONFIG_SYS_NO_FLASH)
 #  define CONFIG_ENV_IS_NOWHERE
 # endif
-- 
1.7.4


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to