diff options
author | Pekon Gupta | 2014-02-26 15:53:14 +0530 |
---|---|---|
committer | Brian Norris | 2014-03-20 02:30:27 -0700 |
commit | 7bcd1dca1d587ad29f9825ba4414620440e8c8da (patch) | |
tree | 6ca84dcaea92051ac45fb9f7024ba3f30d9addd1 /fs/romfs/storage.c | |
parent | 2c9f2365d1e1d0e318b068f683f18c99515b80f8 (diff) |
mtd: nand: omap: ecc.calculate: merge omap3_calculate_ecc_bch8 in omap_calculate_ecc_bch
merge omap3_calculate_ecc_bch8() into omap_calculate_ecc_bch() so that
common callback can be used for both OMAP_ECC_BCH8_CODE_HW and
OMAP_ECC_BCH8_CODE_HW_DETECTION_SW
+---------------------+-------------------------------------------------------+
|ecc-scheme | nand_chip->calculate() after this patch |
+---------------------+-------------------------------------------------------+
|HAM1_ECC | omap_calculate_ecc() |
+---------------------+-------------------------------------------------------+
|BCH4_HW_DETECTION_SW | omap_calculate_ecc_bch() |
|BCH4_HW | omap_calculate_ecc_bch() |
|BCH8_HW_DETECTION_SW | omap3_calculate_ecc_bch8() -> omap_calculate_ecc_bch()|
|BCH8_HW | omap_calculate_ecc_bch() |
+---------------------+-------------------------------------------------------+
Tested-by: Stefan Roese <sr@denx.de>
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'fs/romfs/storage.c')
0 files changed, 0 insertions, 0 deletions