]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/w7o/watchdog.c
3 * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com.
5 * SPDX-License-Identifier: GPL-2.0+
9 * W7O board level hardware watchdog.
14 #ifdef CONFIG_HW_WATCHDOG
17 void hw_watchdog_reset(void)
19 volatile ushort
*hwd
= (ushort
*)(CONFIG_SYS_W7O_EBC_PB7CR
& 0xfff00000);
22 * Read the LMG's hwd register and toggle the
23 * watchdog bit to reset it. On the LMC, just
24 * reading it is enough, but toggling the bit
29 } /* hw_watchdog_reset() */
31 #endif /* CONFIG_HW_WATCHDOG */