]> git.dujemihanovic.xyz Git - u-boot.git/commit
NAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.c
authorStefan Roese <sr@denx.de>
Fri, 1 Jun 2007 13:15:12 +0000 (15:15 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Jun 2007 13:15:12 +0000 (15:15 +0200)
commit91da09cfbce0c1de05d6d84aa8363d666fa7ea3c
treeb2d60bfae2237e3e62445031da879f80112bf3b2
parent17b5e862287cca76f19dcf8b741e61a7d06617f2
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>
cpu/ppc4xx/ndfc.c