AM623: AM623 GPMC NAND Booting Procedure

Part Number: AM623

Tool/software:

Hi,

I am working on a AM623 based custom board and I am trying to boot from the GPMC NAND flash (MT29F2G08ABBGAH4). The NAND flash is successfully working in linux, i have checked with ubi commands.

But my requirement is to boot the linux from the NAND flash so how can i configure the u-boot for NAND booting, is there any document/u-boot configuration available for the AM62 NAND booting. I am looking for u-boot A53,R5 configuration and device tree references.