Skip to content
Commit 7fbd42f5 authored by Stefan Roese's avatar Stefan Roese Committed by Eugen Hristev
Browse files

watchdog: Handle SPL build with watchdog disabled



This patch adds some checks, so that the watchdog can be enabled in main
U-Boot proper but can be disabled in SPL.

This will be used by some AT91SAM based boards, which might enable the
watchdog in the main U-Boot proper and not in SPL. It will be enabled in
SPL by default there, so no need to configure it there. This approach
saves some space in SPL.

Signed-off-by: default avatarStefan Roese <sr@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Andreas Bießmann <andreas@biessmann.org>
Cc: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
Tested on the taurus board:
Tested-by: default avatarHeiko Schocher <hs@denx.de>
parent e567dfb2
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