]> Git Repo - J-u-boot.git/commit
watchdog: Handle SPL build with watchdog disabled
authorStefan Roese <[email protected]>
Tue, 2 Apr 2019 08:57:18 +0000 (10:57 +0200)
committerEugen Hristev <[email protected]>
Tue, 9 Apr 2019 06:28:50 +0000 (09:28 +0300)
commit7fbd42f5afc4425ac137b06f46062483f9809327
tree3e28c46857cad16c1f45a825f58e1430fc7915a9
parente567dfb213f8e7af953645630e96450e128a986b
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: Stefan Roese <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Andreas Bießmann <[email protected]>
Cc: Eugen Hristev <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Tested on the taurus board:
Tested-by: Heiko Schocher <[email protected]>
include/watchdog.h
This page took 0.034338 seconds and 4 git commands to generate.