This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5748: NAND ECC Mapping

Part Number: AM5748


We're trying to run a Micron MT29F16G08AJADAWP on a custom AM5748, and we're confused as to how to configure the am57xx_evm.h file, especially for ECC. The page size for the Micron device is 2048 bytes, with OOB size 64 bytes, so the ECC algorithm we'd want to use would be BCH8, correct? Would this mean we set CONFIG_SYS_NAND_ECCBYTES to 14? How do we decide on CONFIG_SYS_NAND_ECCPOS?

Thanks!