[coreboot] New patch to review for coreboot: 12738f7 Only compile in devices that are relevant to the platform

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Thu Nov 29 19:13:20 CET 2012


Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1943

-gerrit

commit 12738f77368844779945333900f35b646fb2dc89
Author: Ronald G. Minnich <rminnich at gmail.com>
Date:   Thu Nov 29 10:11:51 2012 -0800

    Only compile in devices that are relevant to the platform
    
    At this point, in coreboot, only x86 platforms have any kind of PCI.
    WHile this many change in the future, for now, it's the reality.
    Therefore, we don't compile in hardware that has no meaning on
    non-x86 platforms.
    
    Change-Id: If3f0308f91b50b1304969ec1bbf5f8d2063c10f9
    Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
---
 src/devices/Makefile.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/devices/Makefile.inc b/src/devices/Makefile.inc
index 9d4b391..c0254ee 100644
--- a/src/devices/Makefile.inc
+++ b/src/devices/Makefile.inc
@@ -2,14 +2,14 @@ ramstage-y += device.c
 ramstage-y += root_device.c
 ramstage-y += cpu_device.c
 ramstage-y += device_util.c
-ramstage-y += pci_device.c
+ramstage-$(CONFIG_ARCH_X86) += pci_device.c
 ramstage-$(CONFIG_HYPERTRANSPORT_PLUGIN_SUPPORT) += hypertransport.c
 ramstage-$(CONFIG_PCIX_PLUGIN_SUPPORT) += pcix_device.c
-ramstage-y += pciexp_device.c
+ramstage-$(CONFIG_ARCH_X86) += pciexp_device.c
 ramstage-$(CONFIG_AGP_PLUGIN_SUPPORT) += agp_device.c
 ramstage-$(CONFIG_CARDBUS_PLUGIN_SUPPORT) += cardbus_device.c
-ramstage-y += pnp_device.c
-ramstage-y += pci_ops.c
+ramstage-$(CONFIG_ARCH_X86) += pnp_device.c
+ramstage-$(CONFIG_ARCH_X86) += pci_ops.c
 ramstage-y += smbus_ops.c
 
 romstage-y+= device_romstage.c




More information about the coreboot mailing list