Skip to content
Commit 44366be1 authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Peng Fan
Browse files

board: freescale: p1_p2_rdb_pc: Turn off watchdog before reset



P1/P2 RDB boards have external max6370 watchdog connected to CPLD and this
watchdog is not deactivated on board reset. So if it is active during board
reset, it can trigger another reset when CPU is booting U-Boot. To prevent
possible infinite reset loop caused by external watchdog, turn it off
before reset.

Do it via a new board_reset_prepare() callback which is called from
do_reset() function before any reset sequence.

Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 7e962cb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment