]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: turris_omnia: disable MCU watchdog in board_late_init()
authorMarek Behún <marek.behun@nic.cz>
Mon, 16 Aug 2021 13:19:40 +0000 (15:19 +0200)
committerStefan Roese <sr@denx.de>
Wed, 1 Sep 2021 06:09:24 +0000 (08:09 +0200)
commite23162c805d46e7f6d11ba07f397b5e3e3750fda
tree18d9c9e75e6dbb8e0e247804e1064747a2362e30
parentaeb0ca64dbb5e4b1f58c5b723d92220e7729aa37
arm: mvebu: turris_omnia: disable MCU watchdog in board_late_init()

Disable MCU watchdog in board_late_init() instead of board_init(), so
that it is disabled after U-Boot enables SOC watchdog instead of before.
This way there is no window when the board is vulnerable.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_omnia/turris_omnia.c