summaryrefslogtreecommitdiff
path: root/arch/x86/lib
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-07-06 16:31:36 +0800
committerSimon Glass <sjg@chromium.org>2015-07-14 18:03:19 -0600
commita452002259e172c93277dbe5752817e0732afe78 (patch)
treeebe93096ea5998bd0ec106eccac80cf24214b06e /arch/x86/lib
parent7aaff9bf81b17b7920826f99a17eae7659292f5c (diff)
x86: Configure VESA parameters before loading Linux kernel
Store VESA parameters to Linux setup header so that vesafb driver in the kernel could work. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Jian Luo <jian.luo4@boschrexroth.de>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r--arch/x86/lib/zimage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c
index c3f8a7308f..144471c5bb 100644
--- a/arch/x86/lib/zimage.c
+++ b/arch/x86/lib/zimage.c
@@ -273,6 +273,8 @@ int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot,
build_command_line(cmd_line, auto_boot);
}
+ setup_video(&setup_base->screen_info);
+
return 0;
}