Skip to content
Snippets Groups Projects
Commit 8b463dab authored by Mike Frysinger's avatar Mike Frysinger
Browse files

sf: eeprom_m95xxx: set a sane default timeout


Every board currently defines this to the same value, so just default
to that to avoid having to make everyone do the same thing.

Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent a1f77b69
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,10 @@
#define CONFIG_DEFAULT_SPI_MODE SPI_MODE_0
#endif
#ifndef CONFIG_SYS_SPI_WRITE_TOUT
#define CONFIG_SYS_SPI_WRITE_TOUT (5 * CONFIG_SYS_HZ)
#endif
ssize_t spi_read(uchar *addr, int alen, uchar *buffer, int len)
{
struct spi_slave *slave;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment