Skip to contentSkip to conversation

add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

PATCH New Yoshihiro Shimoda 3 participants 3 messages Jan 25, 2011 – Feb 15, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
about V2:
- list sorted

 include/environment.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/environment.h +2 -1
index 082b3e1..53d92df 100644
@@ -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
Signature · 1 line
1.7.1
#1 lore raw

PATCH v2 1/1 add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

Best regards,
Nobuhiro

Quoted 32 lines · Yoshihiro Shimoda

Fix the problem which cannot build the U-boot, if we only set the CONFIG_ENV_IS_IN_SPI_FLASH.

---
about V2:
- list sorted

 include/environment.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/environment.h +2 -1
index 082b3e1..53d92df 100644
@@ -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
Signature · 6 lines
1.7.1

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
#2 lore raw

PATCH v2 1/1 add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

In reply to Yoshihiro Shimoda

Dear Yoshihiro Shimoda,

Quoted 10 lines · In message <[email protected]> you wrote:

Fix the problem which cannot build the U-boot, if we only set the CONFIG_ENV_IS_IN_SPI_FLASH.

---
about V2:
- list sorted

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

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's not an optical illusion, it just looks like one.   -- Phil White