mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
efi_selftest: avoid superfluous messages for event services
In the event services test debug output is written even if no failure is detected. Remove this distracting output. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
e540c48636
commit
ad50dcf8c7
1 changed files with 5 additions and 3 deletions
|
@ -142,8 +142,8 @@ static int execute(void)
|
|||
efi_st_error("WaitForEvent returned wrong index\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
efi_st_printf("Notification count periodic: %u\n", timer_ticks);
|
||||
if (timer_ticks < 8 || timer_ticks > 12) {
|
||||
efi_st_printf("Notification count periodic: %u\n", timer_ticks);
|
||||
efi_st_error("Incorrect timing of events\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
|
@ -170,8 +170,9 @@ static int execute(void)
|
|||
efi_st_error("Could not wait for event\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
efi_st_printf("Notification count single shot: %u\n", timer_ticks);
|
||||
if (timer_ticks != 1) {
|
||||
efi_st_printf("Notification count single shot: %u\n",
|
||||
timer_ticks);
|
||||
efi_st_error("Single shot timer failed\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
|
@ -180,8 +181,9 @@ static int execute(void)
|
|||
efi_st_error("Could not wait for event\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
efi_st_printf("Notification count stopped timer: %u\n", timer_ticks);
|
||||
if (timer_ticks != 1) {
|
||||
efi_st_printf("Notification count stopped timer: %u\n",
|
||||
timer_ticks);
|
||||
efi_st_error("Stopped timer fired\n");
|
||||
return EFI_ST_FAILURE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue