commit | 5fd2c302a51c47478fe9494b30542626d7b50b4d | [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 | 4fe71439f87c50e6bba77750fbb952e4d79bbb6e [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>