From: Wolfgang Denk Date: Tue, 18 Jan 2011 10:29:12 +0100 Subject: [U-Boot] [PATCH] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env In-Reply-To: <4D33C078.3090503@renesas.com> References: <4D33C078.3090503@renesas.com> Message-ID: <20110118092912.698A236C@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Yoshihiro Shimoda, In message <4D33C078.3090503@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 > --- > 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@jpl-devvax.JPL.NASA.GOV>