PCI: Don't enable/disable ROM BAR if we're using a RAM shadow copy
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Mar 2016 14:53:47 +0000 (08:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Mar 2016 18:14:31 +0000 (12:14 -0600)
commit4708f9a55b31062dd19b12788ecf614aa4e79bea
tree6cfd2f5f08aecf0a9f36ce162c548d50714adf6e
parent2ea4adf75235c14c5a52a90eb3c282383f79a86b
PCI: Don't enable/disable ROM BAR if we're using a RAM shadow copy

If we're using a RAM shadow copy instead of the ROM BAR, we don't need to
touch the ROM BAR enable bit.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/rom.c