ipq6018: Adding support for new read id command sequence for spi nand

Some spi nand flash uses single byte read id(9FH) command,
for those devices the sequence is
byte1	byte2	byte3	byte4
9FH	MID	DID	DID
some other spi nand flashes uses two byte read id(9F 00H) command
for those devices the sequence is
byte1	byte2	byte3	byte4
9FH	A7-A0	MID	DID
The first byte is the actual command and the second byte is a dummy byte.
For devices which uses new sequence, we need to pass
appropriate read id command with dummy byte.

Change-Id: Idf2e8740f8341596cd8f58d22d5e33a4b4972a31
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2 files changed