Skip to content

mtd: spi-nor: call schedule() in read loop to service watchdog - #109

Open
jiez wants to merge 1 commit into
adi-u-boot-2025.10.yfrom
adsp-sc5xx-spi-nor-watchdog
Open

mtd: spi-nor: call schedule() in read loop to service watchdog#109
jiez wants to merge 1 commit into
adi-u-boot-2025.10.yfrom
adsp-sc5xx-spi-nor-watchdog

Conversation

@jiez

@jiez jiez commented Jun 24, 2026

Copy link
Copy Markdown

The erase and write loops already call schedule() to prevent watchdog starvation, but spi_nor_read() had no equivalent. During 'sf update', if the target region matches the source (no erase/write needed), only reads occur and the watchdog is never serviced, causing a reset on large flash operations.

The erase and write loops already call schedule() to prevent watchdog
starvation, but spi_nor_read() had no equivalent. During 'sf update',
if the target region matches the source (no erase/write needed), only
reads occur and the watchdog is never serviced, causing a reset on
large flash operations.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
@jiez
jiez requested review from a team June 24, 2026 18:26
@jiez jiez self-assigned this Jun 24, 2026
@jiez jiez added this to ADSP Jun 24, 2026
@pamolloy pamolloy moved this to In Development in ADSP Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Development

Development

Successfully merging this pull request may close these issues.

2 participants