<p>Mario Scheithauer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22136">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">siemens/mc_apl1: Set coreboot ready LED<br><br>This mainboard has its own coreboot ready LED. The LED is switched on<br>via GPIO CNV_RGI_DT.<br><br>Change-Id: I179d013746c1334337dc9e6b7f09ac54eff0cd77<br>Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com><br>---<br>M src/mainboard/siemens/mc_apl1/mainboard.c<br>1 file changed, 10 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/36/22136/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c<br>index f77ef75..2994be5 100644<br>--- a/src/mainboard/siemens/mc_apl1/mainboard.c<br>+++ b/src/mainboard/siemens/mc_apl1/mainboard.c<br>@@ -18,6 +18,7 @@<br> #include <device/device.h><br> #include <device/pci.h><br> #include <device/pci_ids.h><br>+#include <gpio.h><br> #include <hwilib.h><br> #include <i210.h><br> #include <intelblocks/lpc_lib.h><br>@@ -169,7 +170,16 @@<br>       printk(BIOS_NOTICE, "done!\n");<br> }<br> <br>+static void finalize_boot(void *unused)<br>+{<br>+       /* Set coreboot ready LED. */<br>+        gpio_output(CNV_RGI_DT, 1);<br>+  printk(BIOS_INFO, "MC_APL1: coreboot is now finished.\n");<br>+}<br>+<br>+<br> BOOT_STATE_INIT_ENTRY(BS_DEV_ENUMERATE, BS_ON_ENTRY, wait_for_legacy_dev, NULL);<br>+BOOT_STATE_INIT_ENTRY(BS_PAYLOAD_BOOT, BS_ON_ENTRY, finalize_boot, NULL);<br> <br> struct chip_operations mainboard_ops = {<br>   .init = mainboard_init,<br></pre><p>To view, visit <a href="https://review.coreboot.org/22136">change 22136</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/22136"/><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: I179d013746c1334337dc9e6b7f09ac54eff0cd77 </div>
<div style="display:none"> Gerrit-Change-Number: 22136 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Mario Scheithauer <mario.scheithauer@siemens.com> </div>