]> git.baikalelectronics.ru Git - uboot.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)
commita6f094d6606e213d3190486a8d365e7ab967c09c
tree4b8e7ec9284350621b401a15cafb2fefa09638e1
parent3d084f0201f30b4233c4c3a07cea28b4dedbd1e6
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