diff options
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r-- | src/soc/intel/baytrail/nvm.c | 2 | ||||
-rw-r--r-- | src/soc/intel/baytrail/spi.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/soc/intel/baytrail/nvm.c b/src/soc/intel/baytrail/nvm.c index 843bc5aa8b..0cc64f59f3 100644 --- a/src/soc/intel/baytrail/nvm.c +++ b/src/soc/intel/baytrail/nvm.c @@ -37,7 +37,7 @@ static int nvm_init(void) return 0; spi_init(); - flash = spi_flash_probe(0, 0, 1000000, SPI_MODE_3); + flash = spi_flash_probe(0, 0); if (!flash) { printk(BIOS_DEBUG, "Could not find SPI device\n"); return -1; diff --git a/src/soc/intel/baytrail/spi.c b/src/soc/intel/baytrail/spi.c index 5ac42c2dd4..d75caca7af 100644 --- a/src/soc/intel/baytrail/spi.c +++ b/src/soc/intel/baytrail/spi.c @@ -272,8 +272,7 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs) return 0; } -struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, - unsigned int max_hz, unsigned int mode) +struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs) { ich_spi_slave *slave = malloc(sizeof(*slave)); |