<p>Richard Spiegel <strong>uploaded patch set #5</strong> to this change.</p><p><a href="https://review.coreboot.org/c/coreboot/+/30215">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">drivers/generic: Add PCIe bridge helper<br><br>Sometimes you need to send commands to a device behind a PCIe bridge still<br>at romstage, but bridge is not yet programmed. You need to temporarily program<br>the bridge and any base address. Then you send whatever command, and disable<br>the bridge, so regular PCI enumeration can do the work without bothering with<br>something previous. Finally, some time later, you have to send a second command,<br>or maybe read a register, but now PCI was enumerated... so you need to check<br>where the base address was placed.<br><br>BUG=b:118680303<br>TEST=Added debug code to call all 3 functions and analyze its effects.<br>Build and boot grunt.<br><br>Change-Id: Iaec1fcc4f8db8c3b4cfd3786d3ff589dc9cb22f5<br>Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com><br>---<br>A src/drivers/generic/temp_pcie_bridge/Kconfig<br>A src/drivers/generic/temp_pcie_bridge/Makefile.inc<br>A src/drivers/generic/temp_pcie_bridge/README<br>A src/drivers/generic/temp_pcie_bridge/bridge_ram.c<br>A src/drivers/generic/temp_pcie_bridge/bridge_rom.c<br>A src/include/device/temp_bridge.h<br>6 files changed, 310 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/15/30215/5</pre><p>To view, visit <a href="https://review.coreboot.org/c/coreboot/+/30215">change 30215</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/c/coreboot/+/30215"/><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-Change-Id: Iaec1fcc4f8db8c3b4cfd3786d3ff589dc9cb22f5 </div>
<div style="display:none"> Gerrit-Change-Number: 30215 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: Richard Spiegel <richard.spiegel@silverbackltd.com> </div>
<div style="display:none"> Gerrit-Reviewer: Daniel Kurtz <djkurtz@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Martin Roth <martinroth@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org> </div>
<div style="display:none"> Gerrit-Reviewer: Raul Rangel <rrangel@chromium.org> </div>
<div style="display:none"> Gerrit-Reviewer: Richard Spiegel <richard.spiegel@silverbackltd.com> </div>
<div style="display:none"> Gerrit-Reviewer: Simon Glass <sjg@chromium.org> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>
<div style="display:none"> Gerrit-CC: Nico Huber <nico.h@gmx.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>