<p>Hannah Williams has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25892">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/google/octopus: Fix crossystem wpsw_cur error<br><br>With only one entry for Write Protect gpio in the OIPG package, the sysfs<br>entry /sys/devices/platform/chromeos_acpi/GPIO.x  is created as "GPIO"<br>instead of "GPIO.x".This was causing crossytem to return error for wpsw_cur.<br><br>BUG=b:78009842<br><br>Change-Id: Ica60f342420d95d09a45580f2f940443c03601de<br>Signed-off-by: Hannah Williams <hannah.williams@intel.com><br>---<br>M src/mainboard/google/octopus/variants/baseboard/gpio.c<br>M src/soc/intel/apollolake/include/soc/gpio_glk.h<br>2 files changed, 2 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/92/25892/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/google/octopus/variants/baseboard/gpio.c b/src/mainboard/google/octopus/variants/baseboard/gpio.c</span><br><span>index 8863bbb..1f2e728 100644</span><br><span>--- a/src/mainboard/google/octopus/variants/baseboard/gpio.c</span><br><span>+++ b/src/mainboard/google/octopus/variants/baseboard/gpio.c</span><br><span>@@ -300,6 +300,7 @@</span><br><span> }</span><br><span> </span><br><span> static const struct cros_gpio cros_gpios[] = {</span><br><span style="color: hsl(120, 100%, 40%);">+ CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE_NAME),</span><br><span>  CROS_GPIO_WP_AH(PAD_SCC(GPIO_PCH_WP), GPIO_COMM_SCC_NAME),</span><br><span> };</span><br><span> </span><br><span>diff --git a/src/soc/intel/apollolake/include/soc/gpio_glk.h b/src/soc/intel/apollolake/include/soc/gpio_glk.h</span><br><span>index 7145a28..63bee3b 100644</span><br><span>--- a/src/soc/intel/apollolake/include/soc/gpio_glk.h</span><br><span>+++ b/src/soc/intel/apollolake/include/soc/gpio_glk.h</span><br><span>@@ -321,6 +321,7 @@</span><br><span> #define PAD_SCC(pad)                     (pad - SCC_OFFSET)</span><br><span> </span><br><span> /* Linux names of the GPIO devices. */</span><br><span style="color: hsl(120, 100%, 40%);">+#define CROS_GPIO_DEVICE_NAME         "INT3453"</span><br><span> #define GPIO_COMM_NW_NAME                "INT3453:00"</span><br><span> #define GPIO_COMM_N_NAME              "INT3453:01"</span><br><span> #define GPIO_COMM_AUDIO_NAME          "INT3453:02"</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25892">change 25892</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/25892"/><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: Ica60f342420d95d09a45580f2f940443c03601de </div>
<div style="display:none"> Gerrit-Change-Number: 25892 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Hannah Williams <hannah.williams@intel.com> </div>