spi: don't shift into "QPI" mode
Assume we're not running in QPI mode. There were some issues involving corruption that were observed as a result of shifting into QPI mode when in SPI mode. Disable this change. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
		@@ -640,9 +640,6 @@ int spiBeginWrite(uint32_t addr, const void *v_data, unsigned int count) {
 | 
			
		||||
uint8_t spiReset(void) {
 | 
			
		||||
	// XXX You should check the "Ready" bit before doing this!
 | 
			
		||||
 | 
			
		||||
	// Shift to QPI mode, then back to Single mode, to ensure
 | 
			
		||||
	// we're actually in Single mode.
 | 
			
		||||
	spiSetType(ST_QPI);
 | 
			
		||||
	spiSetType(ST_SINGLE);
 | 
			
		||||
 | 
			
		||||
	spiBegin();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user