• Bo Shen's avatar
    env: dataflash: fix env_init issue · cca2011e
    Bo Shen authored
    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>
    cca2011e
Name
Last commit
Last update
Licenses Loading commit data...
api Loading commit data...
arch Loading commit data...
board Loading commit data...
common Loading commit data...
disk Loading commit data...
doc Loading commit data...
drivers Loading commit data...
dts Loading commit data...
examples Loading commit data...
fs Loading commit data...
include Loading commit data...
lib Loading commit data...
nand_spl Loading commit data...
net Loading commit data...
post Loading commit data...
spl Loading commit data...
test Loading commit data...
tools Loading commit data...
.checkpatch.conf Loading commit data...
.gitignore Loading commit data...
CREDITS Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
README Loading commit data...
boards.cfg Loading commit data...
config.mk Loading commit data...
mkconfig Loading commit data...
rules.mk Loading commit data...
snapshot.commit Loading commit data...