efistub: Lower default log level

Some uefi implementations will write the efistub logs to the display
over a splash image. This is not desirable for debug and info logs, so
lower the default efi log level to exclude them.

Suggested-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

authored by Aaron Kling and committed by Ard Biesheuvel 86bc643a f393a761

+2 -2
+2 -2
drivers/firmware/efi/libstub/printk.c
··· 5 #include <linux/ctype.h> 6 #include <linux/efi.h> 7 #include <linux/kernel.h> 8 - #include <linux/printk.h> /* For CONSOLE_LOGLEVEL_* */ 9 #include <asm/efi.h> 10 #include <asm/setup.h> 11 12 #include "efistub.h" 13 14 - int efi_loglevel = CONSOLE_LOGLEVEL_DEFAULT; 15 16 /** 17 * efi_char16_puts() - Write a UCS-2 encoded string to the console
··· 5 #include <linux/ctype.h> 6 #include <linux/efi.h> 7 #include <linux/kernel.h> 8 + #include <linux/kern_levels.h> 9 #include <asm/efi.h> 10 #include <asm/setup.h> 11 12 #include "efistub.h" 13 14 + int efi_loglevel = LOGLEVEL_NOTICE; 15 16 /** 17 * efi_char16_puts() - Write a UCS-2 encoded string to the console