Skip to content
Snippets Groups Projects
Commit cca2011e authored by Bo Shen's avatar Bo Shen Committed by Tom Rini
Browse files

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: default avatarBo Shen <voice.shen@atmel.com>
parent 47a4bea6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment