commit | 41ef8c716e93fdf50efe9c1ba733ca6675daaca6 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Tue Mar 18 15:29:14 2008 -0500 |
committer | Scott Wood <scottwood@freescale.com> | Tue Aug 12 11:31:25 2008 -0500 |
tree | 5bc8c792c197f2dbfb367c8a69228d0f374c9def | |
parent | e52b34d40a8a646e3d11638ea8797e96398dba13 [diff] |
Don't panic if a controller driver does ecc its own way. Some hardware, such as the enhanced local bus controller used on some mpc83xx chips, does ecc transparently when reading and writing data, rather than providing a generic calculate/correct mechanism that can be exported to the nand subsystem. The subsystem should not BUG() when calculate, correct, or hwctl are missing, if the methods that call them have been overridden. Signed-off-by: Scott Wood <scottwood@freescale.com>