add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
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.
Signed-off-by Yoshihiro Shimoda <[email protected]>
---
about V2:
- list sorted
include/environment.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
include/environment.h +2 -1
@@ -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
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.Signed-off-by Yoshihiro Shimoda <[email protected]>---
about V2:
- list sortedinclude/environment.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)include/environment.h +2
-1@@ -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
Wolfgang Denk
AppliedPATCH v2 1/1 add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
In reply to Yoshihiro ShimodaDear 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.Signed-off-by Yoshihiro Shimoda <[email protected]>---
about V2:
- list sortedinclude/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