From: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env
Date: Mon, 31 Jan 2011 10:18:03 +0900 [thread overview]
Message-ID: <20110131011803.GD5876@chimagu.nigauri.org> (raw)
In-Reply-To: <4D3E1923.3060401@renesas.com>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Best regards,
Nobuhiro
On Tue, Jan 25, 2011 at 09:28:19AM +0900, Yoshihiro Shimoda 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@renesas.com>
> ---
> about V2:
> - list sorted
>
> include/environment.h | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/include/environment.h b/include/environment.h
> index 082b3e1..53d92df 100644
> --- a/include/environment.h
> +++ b/include/environment.h
> @@ -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
> --
> 1.7.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
next prev parent reply other threads:[~2011-01-31 1:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-25 0:28 [U-Boot] [PATCH v2] add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded env Yoshihiro Shimoda
2011-01-31 1:18 ` Nobuhiro Iwamatsu [this message]
2011-02-15 21:09 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110131011803.GD5876@chimagu.nigauri.org \
--to=iwamatsu@nigauri.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox