From: Yoshihiro Shimoda Date: Tue, 25 Jan 2011 00:28:19 +0000 (+0900) Subject: add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env X-Git-Tag: v2011.03-rc2~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=efb063390d2d1e712c2c8110911616244d562c4b;p=u-boot 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 --- 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