<p>Aamir Bohra has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27263">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/device: Add check for existence and validity of PCIE base address config<br><br>Signed-off-by: Aamir Bohra <aamir.bohra@intel.com><br>Change-Id: I89b0e9c927d395ac6d27201e0b3a8658e958518d<br>---<br>M src/device/pci_ops_mmconf.c<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/63/27263/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/device/pci_ops_mmconf.c b/src/device/pci_ops_mmconf.c</span><br><span>index fb085a6..e822ead 100644</span><br><span>--- a/src/device/pci_ops_mmconf.c</span><br><span>+++ b/src/device/pci_ops_mmconf.c</span><br><span>@@ -17,6 +17,10 @@</span><br><span> #include <device/pci_ids.h></span><br><span> #include <device/pci_ops.h></span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+#if !defined(CONFIG_MMCONF_BASE_ADDRESS) || !CONFIG_MMCONF_BASE_ADDRESS</span><br><span style="color: hsl(120, 100%, 40%);">+#error "PCI Express MMIO base address (PCIEXBAR) needs to be non-zero!"</span><br><span style="color: hsl(120, 100%, 40%);">+#endif</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> /*</span><br><span>  * Functions for accessing PCI configuration space with mmconf accesses</span><br><span>  */</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27263">change 27263</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/27263"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I89b0e9c927d395ac6d27201e0b3a8658e958518d </div>
<div style="display:none"> Gerrit-Change-Number: 27263 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Aamir Bohra <aamir.bohra@intel.com> </div>