aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlif M. Ahmad <alive4ever@live.com>2017-02-21 01:58:20 +0700
committerFelix Fietkau <nbd@nbd.name>2017-02-21 16:07:09 +0100
commit2712497442cc322aa9a6e166a7ed850a4d42df71 (patch)
tree8f7c701d5e30a0af7468464fb3725c5266ba2b6f
parent709d10e220071da00ecbf6d6f5281719bee58a46 (diff)
downloadupstream-2712497442cc322aa9a6e166a7ed850a4d42df71.tar.gz
upstream-2712497442cc322aa9a6e166a7ed850a4d42df71.tar.bz2
upstream-2712497442cc322aa9a6e166a7ed850a4d42df71.zip
x86_64: Add support for EFI framebuffer (FS#515)
CONFIG_FB_EFI and CONFIG_FB_SIMPLE are needed to display console text on EFI framebuffer. CONFIG_FB_EFI is needed when the kernel is directly launched via EFI shell or EFI startup.nsh script. CONFIG_FB_SIMPLE is needed when launching the kernel via grub2 efi. In this case, grub2 has prepared a gfxterm framebuffer and the kernel just need to use the already prepared grub's gfxterm framebuffer to display console text. Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
-rw-r--r--target/linux/x86/64/config-default3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default
index 0f23a9df75..f1349f80e1 100644
--- a/target/linux/x86/64/config-default
+++ b/target/linux/x86/64/config-default
@@ -115,9 +115,10 @@ CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_CMDLINE=y
-# CONFIG_FB_EFI is not set
+CONFIG_FB_EFI=y
CONFIG_FB_HYPERV=y
CONFIG_FB_MODE_HELPERS=y
+CONFIG_FB_SIMPLE=y
CONFIG_FB_TILEBLITTING=y
# CONFIG_FB_VESA is not set
# CONFIG_FONTS is not set