ppc4xx: Fix problem with ECC ordering for PPC4xx NDFC platforms
authorStefan Roese <sr@denx.de>
Wed, 20 May 2009 08:58:02 +0000 (10:58 +0200)
committerStefan Roese <sr@denx.de>
Sat, 23 May 2009 10:51:39 +0000 (12:51 +0200)
commit399aab7748bef053d59612211e1bd7a3fabfce18
tree7e445e60640b237e81fee2eef370a88fb117943c
parent5d841fac8249a2b3f9a814da2140132be0a9f60d
ppc4xx: Fix problem with ECC ordering for PPC4xx NDFC platforms

This patch now uses the correct ECC byte order (Smart Media - SMC)
to be used on the 4xx NAND FLASH driver. Without this patch we have
incompatible ECC byte ordering to the Linux kernel NDFC driver.

Please note that we also have to enable CONFIG_MTD_NAND_ECC_SMC in
drivers/mtd/nand/nand_ecc.c for correct operation. This is done with
a seperate patch.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
cpu/ppc4xx/ndfc.c