1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-26 07:49:12 +01:00
Files
u-boot-megous/common/env_dataflash.c
Bo Shen cca2011e62 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>
2013-10-14 16:06:52 -04:00

1.7 KiB