From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 29 May 2014 07:22:23 +0200 Subject: [U-Boot] [PATCH v1 2/4] spi, spi_mxc: do not hang in spi_xchg_single In-Reply-To: <5386C1B9.7000009@gmail.com> References: <1401272177-16107-1-git-send-email-hs@denx.de> <1401272177-16107-3-git-send-email-hs@denx.de> <5386C1B9.7000009@gmail.com> Message-ID: <5386C40F.1000202@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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