commit | 5c7bad5fffb92a3010128863fc904eb261c97360 | [log] [tgz] |
---|---|---|
author | Bo Shen <voice.shen@atmel.com> | Tue Oct 08 16:30:21 2013 +0800 |
committer | Tom Rini <trini@ti.com> | Mon Oct 14 16:06:52 2013 -0400 |
tree | c5da820fbf3f16697802c33f9c9494a42ecd5542 | |
parent | e5a9af4f62082fa6a97b981bf6f89bde90f971a0 [diff] |
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 <voice.shen@atmel.com>