diff options
| author | Stefan Roese <sr@denx.de> | 2008-02-14 11:46:07 +0100 |
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2008-02-14 11:46:07 +0100 |
| commit | f90e69c634f0b57e88533ceb36dabfd5b6b4e55a (patch) | |
| tree | b959a336b118e054afec34b69a9bbe7021f56983 /cpu/ppc4xx/ndfc.c | |
| parent | fe891ecf4d187e9d11dde869ed4623af52b54451 (diff) | |
| parent | b7f6193e76651e1fd606e46eb11915b53cb6618b (diff) | |
| download | olio-uboot-2014.01-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.tar.xz olio-uboot-2014.01-f90e69c634f0b57e88533ceb36dabfd5b6b4e55a.zip | |
Merge branch 'for-1.3.2'
Diffstat (limited to 'cpu/ppc4xx/ndfc.c')
| -rw-r--r-- | cpu/ppc4xx/ndfc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu/ppc4xx/ndfc.c b/cpu/ppc4xx/ndfc.c index ec1b38cff..9e2229daf 100644 --- 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; |