All information from NANDCode to CmdErase2, can be obtained from the Nand Datasheet. The structure FlashInfo, is filled in with data obtained from the Nand Analysis sheet. Please check this link to see how to create this spreadsheet from Nand Datasheets.
typedef struct _FlashInfo
In the similar way the Nand timings calculated from the spreadsheet are add into this structure.