From: Wang Jian <lark@linux.net.cn>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] How to saveenv in SPI DataFlash?
Date: Sat, 15 Apr 2006 04:28:29 +0800 [thread overview]
Message-ID: <20060415042202.9026.LARK@linux.net.cn> (raw)
In-Reply-To: <1145018003.9402.10.camel@localhost.localdomain>
Hi Andrew Zhukov,
No.
In include/configs/at91rm9200dk.h
#define CFG_ENV_IS_IN_DATAFLASH
and things work automatically. You may need to tune
#define CFG_ENV_ADDR (CFG_DATAFLASH_LOGIC_ADDR_CS0 + CFG_ENV_OFFSET)
but for your case, I think no necessary.
On 14 Apr 2006 15:33:23 +0300, Andrew Zhukov <zhukov@tst.spb.su> wrote:
> Hello everybody,
>
> My target is at91rm9200dk with SPI DataFlash only (no Flash). I'd like
> to store environment vars in this SPI DataFlash. For Flash and Nand
> there are corresponding modules: common/env_flash.c|env_nand.c. But for
> Dataflash there is nothing... Should I create the module to store
> environment in at91rm9200dk SPI DataFlash?
>
> Best regards
> Andrew Zhukov
>
--
lark
prev parent reply other threads:[~2006-04-14 20:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-14 12:33 [U-Boot-Users] How to saveenv in SPI DataFlash? Andrew Zhukov
2006-04-14 20:28 ` Wang Jian [this message]
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=20060415042202.9026.LARK@linux.net.cn \
--to=lark@linux.net.cn \
--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