x86: Support PCI VGA ROM when TPL is used
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:59:08 +0000 (21:59 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:16 +0000 (13:02 +0800)
commit6c456516e24fb23eee01245097ef26885bc8842c
treeda6e70d388f9d4e4286ba5f4db2ff67f2c8d5bb0
parentbf4d8beb126788bfd71da2645c26987516c26d10
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>
drivers/pci/pci_rom.c