We are using a custom board with a 16-bit NAND flash, MT29F1G16ABB. We will not be using the rom bootloader to flash the board (the idea is to download the binary and a small flashing program through JTAG).
According to sprab41c page 18, when booting, the bootloader expects 6 bytes of test data and 10 bytes of ECC data for each 512 bytes. According to sprufl6e page 41, this means 4-bit ECC which the EMIFA hardware does not support for 16-bit devices. How then does the bootloader handle 16-bit flash? Does it ignore the ECC area or does it contain its own software implementation of 4-bit ECC?