diff options
| author | Pekon Gupta <pekon@ti.com> | 2013-10-24 18:20:23 +0530 | 
|---|---|---|
| committer | Evan Wilson <evan@oliodevices.com> | 2014-11-29 14:49:50 -0800 | 
| commit | 49479d69dfac1cd813276cc45fa7b03058257457 (patch) | |
| tree | 232c02266703b394ec7971177342c383278c8ae7 /drivers/rtc | |
| parent | b67f625c4524e8e42406e9e9859476bdbfe3906d (diff) | |
| download | olio-linux-3.10-49479d69dfac1cd813276cc45fa7b03058257457.tar.xz olio-linux-3.10-49479d69dfac1cd813276cc45fa7b03058257457.zip  | |
mtd: nand: omap: use drivers/mtd/nand/nand_bch.c wrapper for BCH ECC instead of lib/bch.c
generic frame-work in mtd/nand/nand_bch.c is a wrapper above lib/bch.h which
encapsulates all control information specific to BCH ecc algorithm in software.
Thus this patch:
(1) replace omap specific implementations with equivalent wrapper in nand_bch.c
    so that generic code from nand_bch.c is re-used. like;
        omap3_correct_data_bch() -> nand_bch_correct_data()
        omap3_free_bch() -> nand_bch_free()
(2) replace direct calls to lib/bch.c with wrapper functions defined in nand_bch.c
	init_bch() -> nand_bch_init()
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 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions