diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2011-01-18 11:13:56 +0800 |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2011-04-08 09:02:27 -0400 |
commit | 030103d780490096c7052ecee8f2af1cb422217d (patch) | |
tree | c7ccf843c0f4cda60f788ef97779f7462519217d /net/dns.h | |
parent | 4db2fa7f9446d0f2fe8db3d62184b1212fe22707 (diff) | |
download | u-boot-imx-030103d780490096c7052ecee8f2af1cb422217d.zip u-boot-imx-030103d780490096c7052ecee8f2af1cb422217d.tar.gz u-boot-imx-030103d780490096c7052ecee8f2af1cb422217d.tar.bz2 |
nios2: reset cfi flash before reading env
Flash might be in unknown state when u-boot is started with jtag.
And got wrong env data. So reset it in board early init.
We cannot use generic cfi flash routines, because flash_init() is
not run yet.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'net/dns.h')
0 files changed, 0 insertions, 0 deletions