]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Mask the ROM address in case it is already enabled
authorSimon Glass <sjg@chromium.org>
Sun, 16 Jul 2023 03:39:03 +0000 (21:39 -0600)
committerBin Meng <bmeng@tinylab.org>
Mon, 17 Jul 2023 09:12:26 +0000 (17:12 +0800)
commitfa5690c1f53929b78f9d9f4e270bd64befcda755
tree24ee8d4042bb6d6bda24dc928122d101c168de76
parentb7d4df5a04733c19747de80b9dfdfdee58c9850d
pci: Mask the ROM address in case it is already enabled

In some cases the video ROM may have been enabled previously, such as by
a previous firmware stage. Use the correct address in that case.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_rom.c