You can read the Flash and SRAM Status Register using ispVM or Diamond Programmer. Here are the steps to follow:
1)) Device powers up check the DONE SRAM Status Register (1=Device booted successfully, 0=Device did not boot successfully)
2) If the DONE SRAM Status Register = 1 now check to see how the device booted
3) Flash Status Register bit SPIm Fail 1 bit will be set to 0 if the boot was from the Flash, 1 if the boot was from SPI. This could also be confirmed by Read the DONE Flash Status Register (1=Pattern in the Flash, 0=No pattern in the flash)