Add support for an "NVRAM Dump" screen in coreinfo (optional), as well as for
[coreboot.git] / payloads / coreinfo / pci_module.c
index aa853b5988c58e9ab999060e6bf779db4902f52b..49523f55bc3c7aa7df7e3bbf1b4d9106d3a5c1d8 100644 (file)
@@ -20,6 +20,8 @@
 #include <arch/io.h>
 #include "coreinfo.h"
 
+#ifdef CONFIG_MODULE_PCI
+
 struct pci_devices {
        unsigned short device;
        unsigned int id;
@@ -282,3 +284,10 @@ struct coreinfo_module pci_module = {
        .redraw = pci_module_redraw,
        .handle = pci_module_handle,
 };
+
+#else
+
+struct coreinfo_module pci_module = {
+};
+
+#endif