From: Bo Shen Date: Tue, 8 Oct 2013 08:30:21 +0000 (+0800) Subject: env: dataflash: fix env_init issue X-Git-Tag: v2013.10~21 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=cca2011e62289063066faee3cf8e3d74685be8fc;hp=cca2011e62289063066faee3cf8e3d74685be8fc env: dataflash: fix env_init issue 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 ---