diff options
author | pekon gupta <pekon@ti.com> | 2013-11-19 05:32:16 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-03-04 02:09:03 (GMT) |
commit | 71a7f95600eeea03100af66e2f11498048f32cfe (patch) | |
tree | 4cde8b77b411e50ef09235fdf8227870ad1572b7 /board/dnp5370/README | |
parent | f5f1f614bda83fae868d5634f86e0098162ceb3b (diff) | |
download | u-boot-fsl-qoriq-71a7f95600eeea03100af66e2f11498048f32cfe.tar.xz |
mtd: nand: omap: optimize chip->ecc.calculate() for H/W ECC schemes
chip->ecc.calculate() is used for calculating and fetching of ECC syndrome by
processing the data passed during Read/Write accesses.
All H/W based ECC schemes use GPMC controller to calculate ECC syndrome.
But each BCHx_ECC scheme has its own implemetation of post-processing and
fetching ECC syndrome from GPMC controller.
This patch updates OMAP_ECC_BCH8_CODE_HW ECC scheme in following way:
- merges multiple chip->calculate API for different ECC schemes
omap_calculate_ecc() + omap_calculate_ecc_bch() + omap_calculate_ecc_bch_sw()
==> omap_calculate_ecc()
- removes omap_ecc_disable() and instead uses it as inline.
Signed-off-by: Pekon Gupta <pekon@ti.com>
Diffstat (limited to 'board/dnp5370/README')
0 files changed, 0 insertions, 0 deletions