Skip to content
Commit 58359284 authored by Wealian Liao's avatar Wealian Liao Committed by Anas Nashif
Browse files

drivers: watchdog: npcx: mask the WDRST_STS when accessing T0CSR



Register T0CSR bit 4 is WDRST_STS which is used to check whether the
chip has watchdog reset from the last power-up or vcc1_rst. WDRST_STS
hardware is design to write one clear. For the original
read-modify-write, it will reset the WDRST_STS unexpected. Add a mask
to avoid it.

Signed-off-by: default avatarWealian Liao <WHLIAO@nuvoton.com>
parent a31bd153
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment