[MTD] NAND modularize ECC
First step of modularizing ECC support. - Move ECC related functionality into a seperate embedded data structure - Get rid of the hardware dependend constants to simplify new ECC models Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
@ -1523,7 +1523,7 @@ static int __init ns_init_module(void)
|
||||
chip->verify_buf = ns_nand_verify_buf;
|
||||
chip->write_word = ns_nand_write_word;
|
||||
chip->read_word = ns_nand_read_word;
|
||||
chip->eccmode = NAND_ECC_SOFT;
|
||||
chip->ecc.mode = NAND_ECC_SOFT;
|
||||
chip->options |= NAND_SKIP_BBTSCAN;
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user