]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
zynq_common: Define CONFIG_ENV_IS_NOWHERE
authorJason Wu <j.wu@xilinx.com>
Fri, 1 Mar 2013 02:18:49 +0000 (12:18 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 4 Mar 2013 17:35:07 +0000 (18:35 +0100)
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 <huanyu@xilinx.com>
include/configs/zynq_common.h

index 3e47c4f33111ee4e7b27a963a8dada961739bf23..89df2775094207767386486d27d1cd9b050bd026 100644 (file)
 # 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