[U-Boot] [PATCH v3 7/7] zynq: Enable nand env. support

From: Jagannadha Sutradharudu Teki jaganna@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@xilinx.com Signed-off-by: Jagannadha Sutradharudu Teki jaganna@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
participants (1)
-
Siva Durga Prasad Paladugu