[U-Boot] [PATCH v3 7/7] zynq: Enable nand env. support
Siva Durga Prasad Paladugu
siva.durga.paladugu at xilinx.com
Mon Feb 17 13:26:31 CET 2014
From: Jagannadha Sutradharudu Teki <jaganna at 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 <sivadur at xilinx.com>
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at 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
More information about the U-Boot
mailing list