mbox series

[0/2] efi: arm: add support for earlycon on EFI framebuffer

Message ID 20190125161806.13472-1-ard.biesheuvel@linaro.org
Headers show
Series efi: arm: add support for earlycon on EFI framebuffer | expand

Message

Ard Biesheuvel Jan. 25, 2019, 4:18 p.m. UTC
Repurpose the existing EFI earlyprintk code to implement support for
'earlycon=efi' for arm64 systems, allowing the graphical console
to be used instead of the serial port for early debug output.

Ard Biesheuvel (2):
  efi: x86: move EFI earlyprintk code to shared location
  efi: arm64: Enable earlycon for the GOP framebuffer

 Documentation/admin-guide/kernel-parameters.txt                         |  9 ++-
 arch/arm64/include/asm/efi.h                                            |  6 ++
 arch/x86/Kconfig.debug                                                  |  2 +-
 arch/x86/include/asm/efi.h                                              |  6 ++
 arch/x86/platform/efi/Makefile                                          |  1 -
 drivers/firmware/efi/Kconfig                                            |  5 ++
 drivers/firmware/efi/Makefile                                           |  1 +
 arch/x86/platform/efi/early_printk.c => drivers/firmware/efi/earlycon.c | 62 ++++++++++++++------
 8 files changed, 70 insertions(+), 22 deletions(-)
 rename arch/x86/platform/efi/early_printk.c => drivers/firmware/efi/earlycon.c (76%)

-- 
2.20.1