From: Scott McNutt Date: Tue, 30 Mar 2010 21:00:44 -0400 Subject: [U-Boot] [PATCH] nios2: Fix AMDLV065D flash write bug in altera board common tree. Message-ID: <1269997244-16106-1-git-send-email-smcnutt@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Scott McNutt --- board/altera/common/AMDLV065D.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/altera/common/AMDLV065D.c b/board/altera/common/AMDLV065D.c index 72b0a9f..7a1b4d3 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); -- 1.6.0.6