u-boot/board/altera
Thomas Chou 030103d780 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>
2011-04-08 09:02:27 -04:00
..
common nios2: add altera cf reset 2010-04-24 18:21:22 -04:00
nios2-generic nios2: reset cfi flash before reading env 2011-04-08 09:02:27 -04:00