summaryrefslogtreecommitdiffstats
path: root/drivers/accessibility
diff options
context:
space:
mode:
authorXiaolei Li <xiaolei.li@mediatek.com>2017-05-31 16:26:40 +0800
committerBoris Brezillon <boris.brezillon@free-electrons.com>2017-06-01 10:09:37 +0200
commit7ec4a37c5d71f0a0bfeb1346d4e832a090ca292d (patch)
tree3f1a297efbb185dfdb76aefefbd77c304a493f97 /drivers/accessibility
parent582212ceb9bcd9ef0808497a8e066c4eef442e19 (diff)
downloadblackbird-obmc-linux-7ec4a37c5d71f0a0bfeb1346d4e832a090ca292d.tar.gz
blackbird-obmc-linux-7ec4a37c5d71f0a0bfeb1346d4e832a090ca292d.zip
mtd: nand: mediatek: add support for different MTK NAND FLASH Controller IP
ECC strength and spare size supported may be different among MTK NAND FLASH Controller IPs. This patch contains changes as following: (1) add new struct mtk_nfc_caps to support different spare size. (2) add new struct mtk_ecc_caps to support different ecc strength. (3) remove ECC_CNFG_xBIT define, use a for loop to do ecc strength config. (4) remove PAGEFMT_SPARE_ define, use a for loop to do spare format config. (5) malloc ecc->eccdata buffer according to max ecc strength of this IP. Signed-off-by: Xiaolei Li <xiaolei.li@mediatek.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud