mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
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: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
a1f77b696d
commit
8b463dab93
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue