aboutsummaryrefslogtreecommitdiff
path: root/include/vbe.h
diff options
context:
space:
mode:
authorBin Meng2015-07-06 16:31:36 +0800
committerSimon Glass2015-07-14 18:03:19 -0600
commita452002259e172c93277dbe5752817e0732afe78 (patch)
treeebe93096ea5998bd0ec106eccac80cf24214b06e /include/vbe.h
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 'include/vbe.h')
-rw-r--r--include/vbe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vbe.h b/include/vbe.h
index c5deee9eca9..1a86db886ad 100644
--- a/include/vbe.h
+++ b/include/vbe.h
@@ -12,7 +12,7 @@
#define _VBE_H
/* these structs are for input from and output to OF */
-struct __packed screen_info {
+struct __packed vbe_screen_info {
u8 display_type; /* 0=NONE, 1= analog, 2=digital */
u16 screen_width;
u16 screen_height;
@@ -23,7 +23,7 @@ struct __packed screen_info {
u8 edid_block_zero[128];
};
-struct __packed screen_info_input {
+struct __packed vbe_screen_info_input {
u8 signature[4];
u16 size_reserved;
u8 monitor_number;