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.

DM8168 nand flash gmpc config

I need to support 2 nand flash chip in my product.

I had modify GPMC_CONFIG7, but It can't work. Kernel will crash or hang.

CS0 GPMC_CONFIG7, is 0x48

Can anyone can help me to modify GPMC_CONFIG7 of CS1.

I know the GPMC_CONFIG7 BASEADDRESS define is "CSi base address where i = 0 to 3 (16 Mbytes minimum granularity). Bits [5-0] corresponds to A29, A28, A27, 26, 25, and A24."

But I can find out a right setting value.

Both of nand flash size is 256MB