commit | bd81948d853f387ab3a3f2133b8f6cb5da26ffcb | [log] [tgz] |
---|---|---|
author | Scott McNutt <smcnutt@psyent.com> | Tue Mar 30 20:26:15 2010 -0400 |
committer | Scott McNutt <smcnutt@psyent.com> | Fri Apr 02 12:28:41 2010 -0400 |
tree | df9b12d48dc9840b39ba1ddea89d7a8402c56826 | |
parent | 205458b4a2a2d457f00138fd6488ed86ca57b886 [diff] [blame] |
nios2: Fix AMDLV065D flash write bug in altera board common tree. Signed-off-by: Scott McNutt <smcnutt@psyent.com>
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 @@ writeb (0xaa, cmd); writeb (0x55, cmd); writeb (0xa0, cmd); - writeb (dst, b); + writeb (b, dst); /* Verify write */ start = get_timer (0);