diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-10-18 18:13:04 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-12-01 13:22:55 +0100 |
commit | b3d6090042d4de265c930358aec4d9b96bf3748a (patch) | |
tree | 4990f74684e32d600afe93ab11668abf1eb11034 /cmd | |
parent | 7b9f8ad749260e11c8883fed53ae4dfefc98b2b3 (diff) | |
download | u-boot-b3d6090042d4de265c930358aec4d9b96bf3748a.zip u-boot-b3d6090042d4de265c930358aec4d9b96bf3748a.tar.gz u-boot-b3d6090042d4de265c930358aec4d9b96bf3748a.tar.bz2 |
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')
-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 478bc11..18176a1 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(); |