summaryrefslogtreecommitdiff
path: root/include/vbe.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-08-13 00:29:16 -0700
committerSimon Glass <sjg@chromium.org>2015-08-26 07:54:08 -0700
commit153e1dda2ff62b0ecffa186a950bbfb82f1b474d (patch)
tree7173e0be720757634f73e088f0038ffd21239b83 /include/vbe.h
parent3ff2f001c2289186c88edf55779078395987bb60 (diff)
video: coreboot: Save VESA mode for future use
When booting as a coreboot payload, the framebuffer details are passed from coreboot via configuration tables. We save these information into vesa_mode_info structure for future use. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/vbe.h')
-rw-r--r--include/vbe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vbe.h b/include/vbe.h
index 1a86db886a..164ccae280 100644
--- a/include/vbe.h
+++ b/include/vbe.h
@@ -102,6 +102,8 @@ struct vbe_ddc_info {
#define VESA_SET_MODE 0x4f02
#define VESA_GET_CUR_MODE 0x4f03
+extern struct vbe_mode_info mode_info;
+
struct graphic_device;
int vbe_get_video_info(struct graphic_device *gdev);