summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2016-03-18 18:03:32 +0100
committerMartin Roth <martinroth@google.com>2016-04-13 17:21:07 +0200
commiteaa57736aceebbeec289edcd710be498e6dbdea0 (patch)
treede7d1d6a62ec1e06cd8ecabc08b1ebe458e22899 /src
parent711a478c055a0b69fac2a7c96b5af493d5e5d913 (diff)
device/pci_rom: Always use pci_rom
The following series always needs to access the functions provided pci_rom.c. Remove the dependency to CONFIG_VGA_ROM_RUN and depend on CONFIG_PCI instead. Change-Id: I6ed7ff5380edc7cd88dc1c71b43b1129a3de0f52 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/14219 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/device/Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc
index 6bad0cde83..261ed53656 100644
--- a/src/device/Makefile.inc
+++ b/src/device/Makefile.inc
@@ -13,6 +13,7 @@ ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += pnp_device.c
ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += pnp_device.c
ramstage-$(CONFIG_PCI) += pci_ops.c
ramstage-$(CONFIG_PCI) += pci_early.c
+ramstage-$(CONFIG_PCI) += pci_rom.c
ramstage-y += smbus_ops.c
ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y)
@@ -25,8 +26,6 @@ romstage-$(CONFIG_PCI) += pci_early.c
subdirs-y += oprom dram
-ramstage-$(CONFIG_VGA_ROM_RUN) += pci_rom.c
-
bootblock-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
verstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c
romstage-$(CONFIG_SOFTWARE_I2C) += software_i2c.c