I just looked it up and when a Device ID command is issued (9Fh), the chip will respond with 4016h for SPI mode and 6016h for QPI mode. By default the factory sets these so during the initial probe of the chip it should use this response to set the mode of communication. I haven't bothered to hook up the logic analyzer and check this although that might be an interesting thing to do one day.
I just looked it up and when a Device ID command is issued (9Fh), the chip will respond with 4016h for SPI mode and 6016h for QPI mode. By default the factory sets these so during the initial probe of the chip it should use this response to set the mode of communication. I haven't bothered to hook up the logic analyzer and check this although that might be an interesting thing to do one day.