* [U-Boot-Users] How to saveenv in SPI DataFlash?
@ 2006-04-14 12:33 Andrew Zhukov
2006-04-14 20:28 ` Wang Jian
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Zhukov @ 2006-04-14 12:33 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] How to saveenv in SPI DataFlash?
2006-04-14 12:33 [U-Boot-Users] How to saveenv in SPI DataFlash? Andrew Zhukov
@ 2006-04-14 20:28 ` Wang Jian
0 siblings, 0 replies; 2+ messages in thread
From: Wang Jian @ 2006-04-14 20:28 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-14 20:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-14 12:33 [U-Boot-Users] How to saveenv in SPI DataFlash? Andrew Zhukov
2006-04-14 20:28 ` Wang Jian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox