aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa/pxa-ssp.c
diff options
context:
space:
mode:
authorPekon Gupta <pekon@ti.com>2013-10-24 08:50:22 -0400
committerBrian Norris <computersforpeace@gmail.com>2013-11-07 02:33:10 -0500
commitb491da7233d5dc1a24d46ca1ad0209900329c5d0 (patch)
tree02a0e314f92d8de31339bfe9b2a5ab06c3d80ef4 /sound/soc/pxa/pxa-ssp.c
parenta919e51161b58ed7e6e663daba99ab7d558808f3 (diff)
mtd: nand: omap: clean-up ecc layout for BCH ecc schemes
In current implementation omap3_init_bch_tail() is a common function to define ecc layout for different BCHx ecc schemes.This patch: (1) removes omap3_init_bch_tail() and defines ecc layout for individual ecc-schemes along with populating their nand_chip->ecc data in omap_nand_probe(). This improves the readability and scalability of code for add new ecc schemes in future. (2) removes 'struct nand_bbt_descr bb_descrip_flashbased' because default nand_bbt_descr in nand_bbt.c matches the same (.len=1 for x8 devices). (3) add the check to see if NAND device has enough OOB/Spare bytes to store ECC signature of whole page, as defined by ecc-scheme. Signed-off-by: Pekon Gupta <pekon@ti.com> Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'sound/soc/pxa/pxa-ssp.c')
0 files changed, 0 insertions, 0 deletions