From efb063390d2d1e712c2c8110911616244d562c4b Mon Sep 17 00:00:00 2001 From: Yoshihiro Shimoda Date: Tue, 25 Jan 2011 09:28:19 +0900 Subject: [PATCH] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env Fix the problem which cannot build the U-boot, if we only set the CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Yoshihiro Shimoda Acked-by: Nobuhiro Iwamatsu --- include/environment.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/environment.h b/include/environment.h index 082b3e15b9..53d92df1f2 100644 --- a/include/environment.h +++ b/include/environment.h @@ -107,7 +107,8 @@ extern unsigned long nand_env_oob_offset; #ifdef CONFIG_ENV_IS_EMBEDDED # if !defined(CONFIG_ENV_IS_IN_FLASH) && \ !defined(CONFIG_ENV_IS_IN_NAND) && \ - !defined(CONFIG_ENV_IS_IN_ONENAND) + !defined(CONFIG_ENV_IS_IN_ONENAND) && \ + !defined(CONFIG_ENV_IS_IN_SPI_FLASH) # error "CONFIG_ENV_IS_EMBEDDED not supported for your flash type" # endif #endif -- 2.25.1