Re: [U-Boot] [PATCH v2] nios2: reset cfi flash before reading env

2011-03-26 Thread Scott McNutt
Applied to: git://git.denx.de/u-boot-nios next Thanks, --Scott Thomas Chou wrote: > 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.

[U-Boot] [PATCH v2] nios2: reset cfi flash before reading env

2011-01-17 Thread Thomas Chou
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 --- v2 use weak func to reset flash, as Wolfgang suggested. rese