<p>Nico Huber has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/29050">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/imgtech/pistachio: Convert to `board_reset()`<br><br>Change-Id: If8fc29c46e2cbc69f94ea8b6dc414a93d82ffb28<br>Signed-off-by: Nico Huber <nico.h@gmx.de><br>---<br>M src/soc/imgtec/pistachio/Kconfig<br>M src/soc/imgtec/pistachio/reset.c<br>2 files changed, 1 insertion(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/50/29050/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/imgtec/pistachio/Kconfig b/src/soc/imgtec/pistachio/Kconfig</span><br><span>index 1ce488c..333216d 100644</span><br><span>--- a/src/soc/imgtec/pistachio/Kconfig</span><br><span>+++ b/src/soc/imgtec/pistachio/Kconfig</span><br><span>@@ -23,7 +23,6 @@</span><br><span>         select HAVE_MONOTONIC_TIMER</span><br><span>  select HAVE_UART_SPECIAL</span><br><span>     select GENERIC_GPIO_LIB</span><br><span style="color: hsl(0, 100%, 40%);">- select HAVE_HARD_RESET</span><br><span>       select UART_OVERRIDE_REFCLK</span><br><span>  bool</span><br><span> </span><br><span>diff --git a/src/soc/imgtec/pistachio/reset.c b/src/soc/imgtec/pistachio/reset.c</span><br><span>index c0e9105..d5d0a81 100644</span><br><span>--- a/src/soc/imgtec/pistachio/reset.c</span><br><span>+++ b/src/soc/imgtec/pistachio/reset.c</span><br><span>@@ -20,7 +20,7 @@</span><br><span> #define PISTACHIO_WD_ADDR          0xB8102100</span><br><span> #define PISTACHIO_WD_SW_RST_OFFSET        0x0000</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void do_hard_reset(void)</span><br><span style="color: hsl(120, 100%, 40%);">+void do_board_reset(void)</span><br><span> {</span><br><span>   /* Generate system reset */</span><br><span>  write32(PISTACHIO_WD_ADDR + PISTACHIO_WD_SW_RST_OFFSET, 0x1);</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/29050">change 29050</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/29050"/><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: If8fc29c46e2cbc69f94ea8b6dc414a93d82ffb28 </div>
<div style="display:none"> Gerrit-Change-Number: 29050 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Nico Huber <nico.h@gmx.de> </div>