summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorpekon gupta <pekon@ti.com>2013-11-19 11:02:16 +0530
committerScott Wood <scottwood@freescale.com>2014-03-03 20:09:03 -0600
commit71a7f95600eeea03100af66e2f11498048f32cfe (patch)
tree4cde8b77b411e50ef09235fdf8227870ad1572b7 /test
parentf5f1f614bda83fae868d5634f86e0098162ceb3b (diff)
downloadu-boot-imx-71a7f95600eeea03100af66e2f11498048f32cfe.zip
u-boot-imx-71a7f95600eeea03100af66e2f11498048f32cfe.tar.gz
u-boot-imx-71a7f95600eeea03100af66e2f11498048f32cfe.tar.bz2
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 'test')
0 files changed, 0 insertions, 0 deletions