[U-Boot] [PATCH] nios2: Fix AMDLV065D flash write bug in altera board common tree.
Scott McNutt
smcnutt at psyent.com
Wed Mar 31 03:00:44 CEST 2010
Signed-off-by: Scott McNutt <smcnutt at psyent.com>
---
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
More information about the U-Boot
mailing list