From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 14 Oct 2013 16:27:31 -0400 Subject: [U-Boot] env: dataflash: fix env_init issue In-Reply-To: <1381221021-24145-1-git-send-email-voice.shen@atmel.com> References: <1381221021-24145-1-git-send-email-voice.shen@atmel.com> Message-ID: <20131014202731.GG28429@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 08, 2013 at 04:30:21PM +0800, Bo Shen wrote: > As the SPI controller is not initialized before env_init(), it causes > reading env in dataflash failed. So, although saveenv() successfully, > it shows warning information when reboot the system as following: > > *** Warning - bad CRC, using default environment > > Let the env_relocate() to check env CRC and import it. > > Signed-off-by: Bo Shen Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: