mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 13:41:31 +00:00
x86: Support PCI VGA ROM when TPL is used
When TPL is in use, U-Boot proper should support initing the VGA ROM even though the 32-bit init portion is in SPL. Update the condition to handle this. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
bf4d8beb12
commit
6c456516e2
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ int dm_pci_run_vga_bios(struct udevice *dev, int (*int15_handler)(void),
|
||||||
goto err;
|
goto err;
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
#if defined(CONFIG_X86) && CONFIG_IS_ENABLED(X86_32BIT_INIT)
|
#if defined(CONFIG_X86) && (CONFIG_IS_ENABLED(X86_32BIT_INIT) || CONFIG_TPL)
|
||||||
bios_set_interrupt_handler(0x15, int15_handler);
|
bios_set_interrupt_handler(0x15, int15_handler);
|
||||||
|
|
||||||
bios_run_on_x86(dev, (unsigned long)ram, vesa_mode,
|
bios_run_on_x86(dev, (unsigned long)ram, vesa_mode,
|
||||||
|
|
Loading…
Add table
Reference in a new issue