<p>Julien Viard de Galbert has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22311">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mainboard/intel/cormorant: updating to set the HSIO lines configuration<br><br>Change-Id: Id802ba6cd14828ffba8221eadd7af018c0bf1d6c<br>Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net><br>---<br>M src/mainboard/intel/cormorant/Makefile.inc<br>A src/mainboard/intel/cormorant/hsio.c<br>2 files changed, 38 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/11/22311/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/intel/cormorant/Makefile.inc b/src/mainboard/intel/cormorant/Makefile.inc<br>index ba88569..3dda7c4 100644<br>--- a/src/mainboard/intel/cormorant/Makefile.inc<br>+++ b/src/mainboard/intel/cormorant/Makefile.inc<br>@@ -16,9 +16,11 @@<br> subdirs-$(CONFIG_ENABLE_FSP_MEMORY_DOWN) += spd<br> <br> romstage-y += boardid.c<br>+romstage-y += hsio.c<br> <br> ramstage-y += ramstage.c<br> ramstage-y += boardid.c<br>+ramstage-y += hsio.c<br> ramstage-$(CONFIG_HAVE_ACPI_TABLES) += acpi_tables.c<br> ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c<br> <br>diff --git a/src/mainboard/intel/cormorant/hsio.c b/src/mainboard/intel/cormorant/hsio.c<br>new file mode 100644<br>index 0000000..86c6788<br>--- /dev/null<br>+++ b/src/mainboard/intel/cormorant/hsio.c<br>@@ -0,0 +1,36 @@<br>+/*<br>+ * This file is part of the coreboot project.<br>+ *<br>+ * Copyright (C) 2017 Intel Corporation.<br>+ * Copyright (C) 2017 Online SAS<br>+ *<br>+ * This program is free software; you can redistribute it and/or modify<br>+ * it under the terms of the GNU General Public License as published by<br>+ * the Free Software Foundation; version 2 of the License.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the<br>+ * GNU General Public License for more details.<br>+ */<br>+<br>+#include <cormorant_boardid.h><br>+#include <hsio.h><br>+#include <soc/fiamux.h><br>+<br>+size_t mainboard_get_hsio_config(BL_HSIO_INFORMATION **p_hsio_config)<br>+{<br>+    uint8_t boardid = board_id();<br>+    size_t num;<br>+    switch (boardid) {<br>+    case BoardIdCormorant:<br>+        num = ARRAY_SIZE(cormorant_hsio_config);<br>+        (*p_hsio_config) = (BL_HSIO_INFORMATION *)cormorant_hsio_config;<br>+        break;<br>+    default:<br>+        num = 0;<br>+        (*p_hsio_config) = NULL;<br>+        break;<br>+    }<br>+    return num;<br>+}<br></pre><p>To view, visit <a href="https://review.coreboot.org/22311">change 22311</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/22311"/><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: Id802ba6cd14828ffba8221eadd7af018c0bf1d6c </div>
<div style="display:none"> Gerrit-Change-Number: 22311 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Julien Viard de Galbert <jviarddegalbert@online.net> </div>