diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-08-13 00:29:17 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-08-26 07:54:09 -0700 |
commit | 1916ec12672f76b9a9b0c581e41dad8afea2187d (patch) | |
tree | 6ce56980acbdce369f9dcb9294d014bdbe1386b6 /drivers/pci/pci_rom.c | |
parent | 153e1dda2ff62b0ecffa186a950bbfb82f1b474d (diff) | |
download | u-boot-imx-1916ec12672f76b9a9b0c581e41dad8afea2187d.zip u-boot-imx-1916ec12672f76b9a9b0c581e41dad8afea2187d.tar.gz u-boot-imx-1916ec12672f76b9a9b0c581e41dad8afea2187d.tar.bz2 |
x86: Set up video framebuffer for coreboot before loading kernel
Currenlty we only set up video framebuffer when VIDEO_VESA driver is
used. With coreboot, VIDEO_COREBOOT driver is used instead. Since we
already saved VESA mode in the VIDEO_COREBOOT driver, now we can also
set up video framebuffer for coreboot before loading Linux kernel.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/pci_rom.c')
-rw-r--r-- | drivers/pci/pci_rom.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index b9a3990..d244543 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -232,7 +232,6 @@ int vbe_get_video_info(struct graphic_device *gdev) void setup_video(struct screen_info *screen_info) { -#ifdef CONFIG_FRAMEBUFFER_SET_VESA_MODE struct vesa_mode_info *vesa = &mode_info.vesa; /* Sanity test on VESA parameters */ @@ -258,7 +257,6 @@ void setup_video(struct screen_info *screen_info) screen_info->blue_pos = vesa->blue_mask_pos; screen_info->rsvd_size = vesa->reserved_mask_size; screen_info->rsvd_pos = vesa->reserved_mask_pos; -#endif } int pci_run_vga_bios(pci_dev_t dev, int (*int15_handler)(void), int exec_method) |