I am porting nand driver in u-boot. The nand chip is MT29F2G16ABAE,it conneted with EIM_DA[15..0] of imx53. I have done these works:
1. initial I/O in board-sepcial file-------add setup_nfc() in <uboot>/../mx53_xx.c
2. add nand flash info in type_7 in annd_device_info.c
add nand driver setup in include/configs/mx53_xx.h,for example, #define CONFIG_SYS_NAND_BASE 0x40000000 etc.
add #define CONFIG_FSL_ENV_ IN_MMC
when the board power up, the error show at the console info is
NAND: No NAND device found!!!
I found that someone say we can add "printf" in drivers under u-boot to debug it. But it ouput nothing to me. And I tried "printk", there is no more infomation to output . I don't know how to debug it.
Can anyone help me?