mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
bcm2835_wdt: support for the BCM2835/2836 watchdog
Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
This commit is contained in:
parent
3e16705d3e
commit
45a6d231b2
5 changed files with 70 additions and 3 deletions
|
@ -23,6 +23,7 @@
|
|||
#ifdef CONFIG_ARM64
|
||||
#include <asm/armv8/mmu.h>
|
||||
#endif
|
||||
#include <watchdog.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
|
@ -455,6 +456,9 @@ static void rpi_disable_inactive_uart(void)
|
|||
|
||||
int board_init(void)
|
||||
{
|
||||
#ifdef CONFIG_HW_WATCHDOG
|
||||
hw_watchdog_init();
|
||||
#endif
|
||||
#ifndef CONFIG_PL01X_SERIAL
|
||||
rpi_disable_inactive_uart();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue