commit | 1eb122a0525c3518fbd31ff6d25aa09ce6ab81d2 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Fri Jun 01 15:15:12 2007 +0200 |
committer | Stefan Roese <sr@denx.de> | Fri Jun 01 15:15:12 2007 +0200 |
tree | b2d60bfae2237e3e62445031da879f80112bf3b2 | |
parent | cff18fdc2cccae7f8def70432e743dd0fcbf350e [diff] |
NAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.c This patch adds hardware ECC support to the NDFC driver. It also changes the register access from using the "simple" in32/out32 functions to the in_be32/out_be32 functions, which make sure that the access is correctly synced. This is the only recommended access to SoC registers in the current Linux kernel. Signed-off-by: Stefan Roese <sr@denx.de>