From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wang Jian Date: Sat, 15 Apr 2006 04:28:29 +0800 Subject: [U-Boot-Users] How to saveenv in SPI DataFlash? In-Reply-To: <1145018003.9402.10.camel@localhost.localdomain> References: <1145018003.9402.10.camel@localhost.localdomain> Message-ID: <20060415042202.9026.LARK@linux.net.cn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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