<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20925">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">nb/intel/sandybridge/gma: Fix platforms without NGI<br><br>On platforms that do not have CONFIG_SANDYBRIDGE_IVYBRIDGE_LVDS add inline<br>stubs to fix compilation on those systems.<br><br>Change-Id: Ife9e7f6e61339b201bd3ff42c50f197605a56e00<br>Signed-off-by: Patrick Rudolph <siro@das-labor.org><br>---<br>M src/northbridge/intel/sandybridge/gma.h<br>1 file changed, 15 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/20925/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/northbridge/intel/sandybridge/gma.h b/src/northbridge/intel/sandybridge/gma.h<br>index 5b10920..8b537ad 100644<br>--- a/src/northbridge/intel/sandybridge/gma.h<br>+++ b/src/northbridge/intel/sandybridge/gma.h<br>@@ -18,9 +18,23 @@<br> <br> struct i915_gpu_controller_info;<br> <br>+#if IS_ENABLED(CONFIG_SANDYBRIDGE_IVYBRIDGE_LVDS)<br> int i915lightup_sandy(const struct i915_gpu_controller_info *info,<br>             u32 physbase, u16 pio, u8 *mmio, u32 lfb);<br> int i915lightup_ivy(const struct i915_gpu_controller_info *info,<br>                 u32 physbase, u16 pio, u8 *mmio, u32 lfb);<br>-<br>+#else<br>+static inline int<br>+i915lightup_sandy(const struct i915_gpu_controller_info *info,<br>+             u32 physbase, u16 pio, u8 *mmio, u32 lfb)<br>+{<br>+      return 0;<br>+}<br>+static inline int<br>+i915lightup_ivy(const struct i915_gpu_controller_info *info,<br>+             u32 physbase, u16 pio, u8 *mmio, u32 lfb)<br>+{<br>+        return 0;<br>+}<br>+#endif<br> #endif /* NORTHBRIDGE_INTEL_SANDYBRIDGE_GMA_H */<br></pre><p>To view, visit <a href="https://review.coreboot.org/20925">change 20925</a>. To unsubscribe, 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/20925"/><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: Ife9e7f6e61339b201bd3ff42c50f197605a56e00 </div>
<div style="display:none"> Gerrit-Change-Number: 20925 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <siro@das-labor.org> </div>