Skip to content
Snippets Groups Projects
Commit 030103d7 authored by Thomas Chou's avatar Thomas Chou Committed by Scott McNutt
Browse files

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: default avatarThomas Chou <thomas@wytron.com.tw>
parent 4db2fa7f
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