Skip to contentSkip to conversation

nios2: Fix AMDLV065D flash write bug in altera board common tree.

PATCH New Scott McNutt 1 participant 1 message Mar 31, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nios2: Fix AMDLV065D flash write bug in altera board common tree.

---
 board/altera/common/AMDLV065D.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
board/altera/common/AMDLV065D.c +1 -1
index 72b0a9f..7a1b4d3 100644
@@ -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