From 153e1dda2ff62b0ecffa186a950bbfb82f1b474d Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Thu, 13 Aug 2015 00:29:16 -0700 Subject: 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 --- include/vbe.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/vbe.h') 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); -- cgit v1.2.1