projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a89a91
)
nios2: Fix AMDLV065D flash write bug in altera board common tree.
author
Scott McNutt
<smcnutt@psyent.com>
Wed, 31 Mar 2010 00:26:15 +0000
(20:26 -0400)
committer
Scott McNutt
<smcnutt@psyent.com>
Fri, 2 Apr 2010 16:28:41 +0000
(12:28 -0400)
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
board/altera/common/AMDLV065D.c
patch
|
blob
|
history
diff --git
a/board/altera/common/AMDLV065D.c
b/board/altera/common/AMDLV065D.c
index 72b0a9f8074d332da076eb161c0dce78bffbc998..7a1b4d3c2f6be22ceacdaab94bd57e622174f43b 100644
(file)
--- 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);