From 4c59dede746ba32f4e0f96f85765e704a7b4191d Mon Sep 17 00:00:00 2001 From: Jason Wu Date: Fri, 1 Mar 2013 12:18:49 +1000 Subject: [PATCH] zynq_common: Define CONFIG_ENV_IS_NOWHERE CONFIG_ENV_IS_NOWHERE needs to be defined when CONFIG_SYS_NO_FLASH is set. Otherwise compilation error will occur when try to compile a system without a flash. Signed-off-by: Jason Wu --- include/configs/zynq_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index 3e47c4f3311..89df2775094 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -178,6 +178,8 @@ # elif defined(CONFIG_NAND_ZYNQ) /* Environment in NAND flash */ # define CONFIG_ENV_IS_IN_NAND +# elif defined(CONFIG_SYS_NO_FLASH) +# define CONFIG_ENV_IS_NOWHERE # endif # define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE -- 2.47.3