From 9e486ab1c98ea7ab357520307fe5d5a0847cd1bb Mon Sep 17 00:00:00 2001 From: Scott McNutt Date: Tue, 30 Mar 2010 20:26:15 -0400 Subject: [PATCH] nios2: Fix AMDLV065D flash write bug in altera board common tree. Signed-off-by: Scott McNutt --- board/altera/common/AMDLV065D.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/altera/common/AMDLV065D.c b/board/altera/common/AMDLV065D.c index 72b0a9f807..7a1b4d3c2f 100644 --- a/board/altera/common/AMDLV065D.c +++ b/board/altera/common/AMDLV065D.c @@ -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); -- 2.39.5