projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdev
[oweals/u-boot.git]
/
cpu
/
ppc4xx
/
ndfc.c
diff --git
a/cpu/ppc4xx/ndfc.c
b/cpu/ppc4xx/ndfc.c
index ec1b38cffa35177a18959c502e9a6e348bbd0a97..9e2229daf998d388107cee21d686215f2deaacf2 100644
(file)
--- a/
cpu/ppc4xx/ndfc.c
+++ b/
cpu/ppc4xx/ndfc.c
@@
-121,8
+121,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;