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

York Sun
2015-12-04T21:00:34Z

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