speed up SPI flash data rate

This commit is contained in:
Michael Ossmann
2013-02-22 18:42:17 -07:00
parent 8eb95ca39c
commit 0874f9fe19

View File

@ -39,9 +39,8 @@
void w25q80bv_setup(void)
{
/* FIXME speed up once everything is working reliably */
const uint8_t serial_clock_rate = 32;
const uint8_t clock_prescale_rate = 128;
const uint8_t serial_clock_rate = 2;
const uint8_t clock_prescale_rate = 2;
/* configure SSP pins */
scu_pinmux(SCU_SSP0_MISO, (SCU_SSP_IO | SCU_CONF_FUNCTION5));