summaryrefslogtreecommitdiff
path: root/include/netdev.h
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2020-03-13 17:04:57 +0100
committerStefan Roese <sr@denx.de>2020-04-15 08:53:55 +0200
commitb4d9452c442769e6dc25649ac02db2d5ed5ea0c8 (patch)
treea49a77dabe7d1f45fcc3abd30afcd594500ed81d /include/netdev.h
parent21a0bf7f466b8e71ce5ba2c2bcf635d7ab1fc83d (diff)
downloadu-boot-b4d9452c442769e6dc25649ac02db2d5ed5ea0c8.tar.gz
u-boot-b4d9452c442769e6dc25649ac02db2d5ed5ea0c8.tar.bz2
u-boot-b4d9452c442769e6dc25649ac02db2d5ed5ea0c8.zip
watchdog: move initr_watchdog() to wdt-uclass.c
This function is a bit large for an inline function, and for U-Boot proper, it is called via a function pointer anyway (in board_r.c), so cannot be inlined. It will shortly set a global variable to be used by the watchdog_reset() function in wdt-uclass.c, so this also allows making that variable local to wdt-uclass.c. The WATCHDOG_TIMEOUT_SECS define is not used elsewhere. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/netdev.h')
0 files changed, 0 insertions, 0 deletions