[U-Boot] [PATCH v1 2/4] spi, spi_mxc: do not hang in spi_xchg_single

Heiko Schocher hs at denx.de
Thu May 29 07:22:23 CEST 2014


Hello Dirk,

Am 29.05.2014 07:12, schrieb Dirk Behme:
> Am 28.05.2014 12:16, schrieb Heiko Schocher:
>> if status register do never set MXC_CSPICTRL_TC, spi_xchg_single
>> endless loops. Add a timeout here to prevent endless hang.
>
> As I've never seen this, yet: Any idea what goes wrong if this happens?

I had a wrong pinmux (IIRC) and I saw this hang, so I thought
it would be good to not hang here ... but with correct pinmux
settings, I didn;t saw this anymore ... maybe unneeded patch?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list