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!