public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
@ 2011-01-17  4:07 Yoshihiro Shimoda
  2011-01-17 13:09 ` Nobuhiro Iwamatsu
  2011-01-18  9:29 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Yoshihiro Shimoda @ 2011-01-17  4:07 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>
---
 include/environment.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/environment.h b/include/environment.h
index 082b3e1..8a4f393 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -106,6 +106,7 @@ extern unsigned long nand_env_oob_offset;
 /* Embedded env is only supported for some flash types */
 #ifdef CONFIG_ENV_IS_EMBEDDED
 # if !defined(CONFIG_ENV_IS_IN_FLASH) && \
+     !defined(CONFIG_ENV_IS_IN_SPI_FLASH) && \
      !defined(CONFIG_ENV_IS_IN_NAND) && \
      !defined(CONFIG_ENV_IS_IN_ONENAND)
 #  error "CONFIG_ENV_IS_EMBEDDED not supported for your flash type"
-- 
1.7.1

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

end of thread, other threads:[~2011-01-19  7:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-17  4:07 [U-Boot] [PATCH] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env Yoshihiro Shimoda
2011-01-17 13:09 ` Nobuhiro Iwamatsu
2011-01-18  9:29 ` Wolfgang Denk
2011-01-19  7:45   ` Yoshihiro Shimoda

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