diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-10-18 19:13:04 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-12-01 15:22:55 +0300 |
commit | b3d6090042d4de265c930358aec4d9b96bf3748a (patch) | |
tree | 4990f74684e32d600afe93ab11668abf1eb11034 /cmd/bootefi.c | |
parent | 7b9f8ad749260e11c8883fed53ae4dfefc98b2b3 (diff) | |
download | u-boot-b3d6090042d4de265c930358aec4d9b96bf3748a.tar.xz |
efi_loader: implement SetWatchdogTimer
The watchdog is initialized with a 5 minute timeout period.
It can be reset by SetWatchdogTimer.
It is stopped by ExitBoottimeServices.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r-- | cmd/bootefi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 478bc116e2..18176a1266 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -43,6 +43,7 @@ static void efi_init_obj_list(void) #ifdef CONFIG_GENERATE_SMBIOS_TABLE efi_smbios_register(); #endif + efi_watchdog_register(); /* Initialize EFI runtime services */ efi_reset_system_init(); |