nios2: Fix AMDLV065D flash write bug in altera board common tree.
PATCH 1/1 nios2: Fix AMDLV065D flash write bug in altera board common tree.
Signed-off-by Scott McNutt <[email protected]>
--- board/altera/common/AMDLV065D.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
board/altera/common/AMDLV065D.c +1 -1
@@ -172,7 +172,7 @@ int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)writeb (0xaa , cmd);writeb (0x55 , cmd);writeb (0xa0 , cmd); -writeb (dst, b); +writeb (b, dst);/* Verify write */ start =get_timer (0 );
Signature · 1 line
1.6.0.6