Using the address cycles defined in onfi parameter page than
hardcoding this value to 5 for read and write operations in
XNandPs_SendCommand API.
Signed-off-by: Shakti Bhatnagar <shaktib@xilinx.com>
Fixed updating the command phase register twice for the
flash devices that require four address cycles.
Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Acked-by: Anirudha Sarangi <anirudh@xilinx.com>