commit | 85f9823cd74bd2d9a7854ca0b2244e43b5214e5a | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Tue Aug 25 22:54:01 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Tue Aug 25 22:54:01 2009 +0200 |
tree | b80f8ba518cf216d85a52d53ed02eba4328d1c00 | |
parent | 3d447d135c13e4ddfd8ac3f54506e9d1c9d5bb16 [diff] | |
parent | 68e74567cf317318df52dbcb2ac170ffc5e7758a [diff] |
Merge branch 'master' of git://git.denx.de/u-boot-ppc4xx
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c index 528b22b..0891936 100644 --- a/drivers/mtd/nand/ndfc.c +++ b/drivers/mtd/nand/ndfc.c
@@ -89,8 +89,8 @@ /* 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;