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:
Sean Cross 2019-05-25 23:50:20 +08:00
parent 946c7f8ec1
commit 337e1a370c
1 changed files with 0 additions and 3 deletions

View File

@ -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();