nand: Fix problem with ECC ordering for PPC4xx NDFC platforms
authorStefan Roese <sr@denx.de>
Wed, 20 May 2009 08:58:03 +0000 (10:58 +0200)
committerStefan Roese <sr@denx.de>
Sat, 23 May 2009 10:51:39 +0000 (12:51 +0200)
commitf40f6db278f602b55820693634a7256b0b4e4b80
tree084f2b6e6b58c8c2320d5d3fc565e434ac0b0ab4
parent399aab7748bef053d59612211e1bd7a3fabfce18
nand: Fix problem with ECC ordering for PPC4xx NDFC platforms

This patch enables Smart Media (SMC) ECC byte ordering which is used
on the PPC4xx NAND FLASH controller (NDFC). Without this patch we have
incompatible ECC byte ordering to the Linux kernel NDFC driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_ecc.c