]> git.dujemihanovic.xyz Git - u-boot.git/commit
timer: mpc83xx_timer: fix build with CONFIG_{HW_, }WATCHDOG
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 14 Apr 2021 07:18:21 +0000 (09:18 +0200)
committerStefan Roese <sr@denx.de>
Wed, 28 Apr 2021 08:05:13 +0000 (10:05 +0200)
commitf9fb4c462b0948ce7f964b538bcc6c0e35cdaf27
tree4b8e7ec9284350621b401a15cafb2fefa09638e1
parentd0c94749dc5cb54e253e52e7581db5293b72049b
timer: mpc83xx_timer: fix build with CONFIG_{HW_, }WATCHDOG

The code, which is likely copied from arch/powerpc/lib/interrupts.c,
lacks a fallback definition of CONFIG_SYS_WATCHDOG_FREQ and refers to
a non-existing timestamp variable - obviously priv->timestamp is
meant.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
drivers/timer/mpc83xx_timer.c