linux/drivers/mtd/nand/gpmi-nand
Huang Shijie f720e7ce51 mtd: gpmi: remove the nand_scan()
In order to make the nand_scan() work, the current code uses the hack code
to init the @nand_chip->ecc.size and the @nand_chip->ecc.strength. and
re-init some the ECC info in the gpmi_pre_bbt_scan().
This code is really a little ugly.

The patch does following changes:
  (1) Use the nand_scan_ident()/nand_scan_tail() to replace the nand_scan().

  (2) Init all the necessary values in the gpmi_init_last()
      before we call the nand_scan_tail().

  (3) remove the code setting the ECC info, let the mtd layer to do the
      real job.

  (4) remove the gpmi_scan_bbt(). we do not need this function any more.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2013-08-30 21:38:27 +01:00
..
Makefile mtd: add GPMI-NAND driver in the config and Makefile 2011-09-11 15:02:18 +03:00
bch-regs.h mtd: gpmi: set the Golois Field bit for mx6q's BCH 2013-02-04 10:27:59 +02:00
gpmi-lib.c mtd: gpmi: set the Golois Field bit for mx6q's BCH 2013-02-04 10:27:59 +02:00
gpmi-nand.c mtd: gpmi: remove the nand_scan() 2013-08-30 21:38:27 +01:00
gpmi-nand.h mtd: gpmi: move to use generic DMA helper 2013-04-04 21:22:45 +08:00
gpmi-regs.h mtd: gpmi: add a new field for HW_GPMI_CTRL1 2012-09-29 15:55:18 +01:00