public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
@ 2011-01-25  0:28 Yoshihiro Shimoda
  2011-01-31  1:18 ` Nobuhiro Iwamatsu
  2011-02-15 21:09 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Yoshihiro Shimoda @ 2011-01-25  0:28 UTC (permalink / raw)
  To: u-boot

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>
---
 about V2:
  - list sorted

 include/environment.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/environment.h b/include/environment.h
index 082b3e1..53d92df 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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-15 21:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-25  0:28 [U-Boot] [PATCH v2] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env Yoshihiro Shimoda
2011-01-31  1:18 ` Nobuhiro Iwamatsu
2011-02-15 21:09 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox