Dear All,
I'm porting U-Boot to our hardware based on Virtex-II FGPA. We have NAND device which cannot be accessed directly but only via our interface which takes care of all the control lines and sends the address/command/data bytes automatically.
I understand, low-level macros like NAND_CLRCLE can be skipped.

Will it be OK if I implemet only NAND_WAIT_READY, WRITE_NAND_xxx and READ_NAND macros? Or anything else is required.

Do I need to set any structures manually? I couldn't find who populates struct nand_chip with info, at which stages it occurs.

Thanks.