We are using Micron NAND flash in our board. When the board is booted after switching on, its reading the manufacture ID properly, chip id is read as 0x01 instead of 0xA1. If its rebooted from hyperterminal or rebooted pressing reset switch both IDs are read properly. Only during the cold boot its not reading properly.

I tried giving upto 1sec delay in init (in mx2_nand.c - mx2nand_init() )function and before reading the IDs (in nand_base.c nand_scan() ). Still its not working.

processor: iMX21
OS: Linux 2.4 kernel

Can anyone tell me what may be the problem?

Thank you,