• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂efb063390d2d1e712c2c8110911616244d562c4b (tree)
時間2011-02-16 06:09:50
作者Yoshihiro Shimoda <yoshihiro.shimoda.uh@rene...>
CommiterWolfgang Denk

Log Message

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>

Change Summary

差異

--- a/include/environment.h
+++ b/include/environment.h
@@ -107,7 +107,8 @@ extern unsigned long nand_env_oob_offset;
107107 #ifdef CONFIG_ENV_IS_EMBEDDED
108108 # if !defined(CONFIG_ENV_IS_IN_FLASH) && \
109109 !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)
111112 # error "CONFIG_ENV_IS_EMBEDDED not supported for your flash type"
112113 # endif
113114 #endif