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.

TDA3XEVM: Nand gpmc driver supports 4bit BCH ECC algorithm

Part Number: TDA3XEVM
  1. In linux, it seems like gpmc driver supports  8bit and 16 bit BCH ECC algorithm, But our 8bit NAND hardware supports 4bit  ECC.  So our question, Is it possible to use 4bit ECC NAND with 8bit BCH algorithm? Or We need to write our own 4bit BCH ECC algorithm to support our 4bit ECC NAND hardware.
  2. In TI forums some of them answered, 4bit NAND ECC will work with 8Bit BCH algorithm. Please find the forum link below, https://e2e.ti.com/support/processors/f/791/t/612245  What is your opinion on this? Is this the right    way or bad way to do it.
  3. How to calculate our NAND timing parameters like (cstime, advtime..etc)? or Can we reuse the timing parameters from the device tree of gpmc? Our NAND size is 256MB with 8 bit bus width.
    https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/mtd/gpmc-nand.txt

Regards

Prakash