davinci: da850/omap-l138: Enable 4-bit ecc
This patch initializes the platform data to enable 4-bit ecc support on DA850/OMAP-L138. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
committed by
Kevin Hilman
parent
e2abd5a282
commit
fc42e335ee
@@ -131,6 +131,7 @@ static struct davinci_nand_pdata da850_evm_nandflash_data = {
|
|||||||
.parts = da850_evm_nandflash_partition,
|
.parts = da850_evm_nandflash_partition,
|
||||||
.nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
|
.nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
|
||||||
.ecc_mode = NAND_ECC_HW,
|
.ecc_mode = NAND_ECC_HW,
|
||||||
|
.ecc_bits = 4,
|
||||||
.options = NAND_USE_FLASH_BBT,
|
.options = NAND_USE_FLASH_BBT,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user