修訂 | efb063390d2d1e712c2c8110911616244d562c4b (tree) |
---|---|
時間 | 2011-02-16 06:09:50 |
作者 | Yoshihiro Shimoda <yoshihiro.shimoda.uh@rene...> |
Commiter | Wolfgang Denk |
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 <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
@@ -107,7 +107,8 @@ extern unsigned long nand_env_oob_offset; | ||
107 | 107 | #ifdef CONFIG_ENV_IS_EMBEDDED |
108 | 108 | # if !defined(CONFIG_ENV_IS_IN_FLASH) && \ |
109 | 109 | !defined(CONFIG_ENV_IS_IN_NAND) && \ |
110 | - !defined(CONFIG_ENV_IS_IN_ONENAND) | |
110 | + !defined(CONFIG_ENV_IS_IN_ONENAND) && \ | |
111 | + !defined(CONFIG_ENV_IS_IN_SPI_FLASH) | |
111 | 112 | # error "CONFIG_ENV_IS_EMBEDDED not supported for your flash type" |
112 | 113 | # endif |
113 | 114 | #endif |