summaryrefslogtreecommitdiff
path: root/drivers/video/atmel_hlcdfb.c
diff options
context:
space:
mode:
authorJosh Wu <josh.wu@atmel.com>2012-11-29 18:45:52 +0800
committerJosh Wu <josh.wu@atmel.com>2012-11-30 16:59:26 +0800
commit587aa30fdfb5bc27f9568b62395ff9855ae91b00 (patch)
tree9b9c97ce5d1500e468a3d2d1efa3abfd715a0cac /drivers/video/atmel_hlcdfb.c
parent59f94a35a359800c5ef90d258583af7a1a702b63 (diff)
MTD: at91: atmel_nand: since PMECC support different ecc
correctable bits(2, 4, 8, 12, 24), add code to choose the ecc bits according to the ONFI parameter's minimum required ecc_bits. we'll check the ecc_bits (minimum required ecc correct bits) in ONFI parameter. If ecc_bits is smaller compare with CONFIG_PMECC_CAP in config file, then use ecc_bits. otherwise use CONFIG_PMECC_CAP. for non-ONFI support nand flash, we assume its minimum ecc_bits is 1.
Diffstat (limited to 'drivers/video/atmel_hlcdfb.c')
0 files changed, 0 insertions, 0 deletions