txx9ndfmc.c (716bbbabcc68c2b0e1b805d369c0bd58f4fdea30) | txx9ndfmc.c (bf6065c6c08fa3ed7bdf8d28b8062ce8e58c1543) |
---|---|
1/* 2 * TXx9 NAND flash memory controller driver 3 * Based on RBTX49xx patch from CELF patch archive. 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * --- 313 unchanged lines hidden (view full) --- 322 continue; 323 chip = &txx9_priv->chip; 324 mtd = nand_to_mtd(chip); 325 mtd->dev.parent = &dev->dev; 326 327 chip->legacy.read_byte = txx9ndfmc_read_byte; 328 chip->legacy.read_buf = txx9ndfmc_read_buf; 329 chip->legacy.write_buf = txx9ndfmc_write_buf; | 1/* 2 * TXx9 NAND flash memory controller driver 3 * Based on RBTX49xx patch from CELF patch archive. 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * --- 313 unchanged lines hidden (view full) --- 322 continue; 323 chip = &txx9_priv->chip; 324 mtd = nand_to_mtd(chip); 325 mtd->dev.parent = &dev->dev; 326 327 chip->legacy.read_byte = txx9ndfmc_read_byte; 328 chip->legacy.read_buf = txx9ndfmc_read_buf; 329 chip->legacy.write_buf = txx9ndfmc_write_buf; |
330 chip->cmd_ctrl = txx9ndfmc_cmd_ctrl; | 330 chip->legacy.cmd_ctrl = txx9ndfmc_cmd_ctrl; |
331 chip->dev_ready = txx9ndfmc_dev_ready; 332 chip->ecc.calculate = txx9ndfmc_calculate_ecc; 333 chip->ecc.correct = txx9ndfmc_correct_data; 334 chip->ecc.hwctl = txx9ndfmc_enable_hwecc; 335 chip->ecc.mode = NAND_ECC_HW; 336 chip->ecc.strength = 1; 337 chip->chip_delay = 100; 338 chip->controller = &drvdata->controller; --- 83 unchanged lines hidden --- | 331 chip->dev_ready = txx9ndfmc_dev_ready; 332 chip->ecc.calculate = txx9ndfmc_calculate_ecc; 333 chip->ecc.correct = txx9ndfmc_correct_data; 334 chip->ecc.hwctl = txx9ndfmc_enable_hwecc; 335 chip->ecc.mode = NAND_ECC_HW; 336 chip->ecc.strength = 1; 337 chip->chip_delay = 100; 338 chip->controller = &drvdata->controller; --- 83 unchanged lines hidden --- |