projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3d447d1
)
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
author
Wolfgang Denk
<wd@denx.de>
Tue, 25 Aug 2009 20:54:01 +0000
(22:54 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 25 Aug 2009 20:54:01 +0000
(22:54 +0200)
drivers/mtd/nand/ndfc.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/ndfc.c
b/drivers/mtd/nand/ndfc.c
index
528b22b
..
0891936
100644
(file)
--- a/
drivers/mtd/nand/ndfc.c
+++ b/
drivers/mtd/nand/ndfc.c
@@
-89,8
+89,8
@@
static int ndfc_calculate_ecc(struct mtd_info *mtdinfo,
/* The NDFC uses Smart Media (SMC) bytes order
*/
- ecc_code[0] = p[
2
];
- ecc_code[1] = p[
1
];
+ ecc_code[0] = p[
1
];
+ ecc_code[1] = p[
2
];
ecc_code[2] = p[3];
return 0;