From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 4 Dec 2015 13:00:34 -0800 Subject: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing In-Reply-To: References: <1446625150-5677-1-git-send-email-alexander.stein@systec-electronic.com> Message-ID: <5661FEF2.6010403@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 12/04/2015 12:54 PM, Fabio Estevam wrote: > On Wed, Nov 4, 2015 at 6:19 AM, Alexander Stein > wrote: >> When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog >> timeout might occur meanwhile. So pet the watchdog while operating on >> the flash. > > I guess the same problem would occur when you do long file transfers > via TFTP, via USB, via eMMC, right? > > Shouldn't you fix the watchdog timeout value instead? If I read this > thread correctly you set the watchdog timeout to be 1.5 s, which seems > to be too low. > Exactly what I thought. So we either discourage using short period for watchdog, or feed the dog in all long calls, not only SPI driver. York