[U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

York Sun yorksun at freescale.com
Fri Dec 4 22:00:34 CET 2015



On 12/04/2015 12:54 PM, Fabio Estevam wrote:
> On Wed, Nov 4, 2015 at 6:19 AM, Alexander Stein
> <alexander.stein at systec-electronic.com> 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


More information about the U-Boot mailing list