[U-Boot] [PATCH] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env

Wolfgang Denk wd at denx.de
Tue Jan 18 10:29:12 CET 2011


Dear Yoshihiro Shimoda,

In message <4D33C078.3090503 at renesas.com> 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 <yoshihiro.shimoda.uh at 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)

Please keep list sorted.

Best regards,

Wolfgang Denk

-- 
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
Randal said it would be tough to do in sed. He didn't say  he  didn't
understand  sed.  Randal  understands sed quite well. Which is why he
uses Perl. :-)         - Larry Wall in <7874 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list