diff options
author | Scott McNutt <smcnutt@psyent.com> | 2010-03-30 20:26:15 -0400 |
---|---|---|
committer | Scott McNutt <smcnutt@psyent.com> | 2010-04-02 12:28:41 -0400 |
commit | 9e486ab1c98ea7ab357520307fe5d5a0847cd1bb (patch) | |
tree | df9b12d48dc9840b39ba1ddea89d7a8402c56826 /board/altera/common/AMDLV065D.c | |
parent | 3a89a91a10fed545af458418e63d911953a9849c (diff) | |
download | u-boot-imx-9e486ab1c98ea7ab357520307fe5d5a0847cd1bb.zip u-boot-imx-9e486ab1c98ea7ab357520307fe5d5a0847cd1bb.tar.gz u-boot-imx-9e486ab1c98ea7ab357520307fe5d5a0847cd1bb.tar.bz2 |
nios2: Fix AMDLV065D flash write bug in altera board common tree.
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'board/altera/common/AMDLV065D.c')
-rw-r--r-- | 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); |