<p>Keith Hui has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20978">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">superio/winbond/w83977tf: Drop early_serial.c<br><br>Early serial init on this superio is done by<br>superio/winbond/common/early_serial.c and no board<br>currently references this instance anymore.<br><br>Change-Id: Iab8dd93663fc78ed0d8c6a5313bb6a1884d1a043<br>Signed-off-by: Keith Hui <buurin@gmail.com><br>---<br>D src/superio/winbond/w83977tf/early_serial.c<br>1 file changed, 0 insertions(+), 43 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/20978/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/superio/winbond/w83977tf/early_serial.c b/src/superio/winbond/w83977tf/early_serial.c<br>deleted file mode 100644<br>index b3aa8ac..0000000<br>--- a/src/superio/winbond/w83977tf/early_serial.c<br>+++ /dev/null<br>@@ -1,43 +0,0 @@<br>-/*<br>- * This file is part of the coreboot project.<br>- *<br>- * Copyright (C) 2000 AG Electronics Ltd.<br>- * Copyright (C) 2003-2004 Linux Networx<br>- * Copyright (C) 2004 Tyan<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; either version 2 of the License, or<br>- * (at your option) any later version.<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 <arch/io.h><br>-#include "w83977tf.h"<br>-<br>-static void pnp_enter_ext_func_mode(pnp_devfn_t dev)<br>-{<br>- u16 port = dev >> 8;<br>-   outb(0x87, port);<br>-    outb(0x87, port);<br>-}<br>-<br>-static void pnp_exit_ext_func_mode(pnp_devfn_t dev)<br>-{<br>-   u16 port = dev >> 8;<br>-   outb(0xaa, port);<br>-}<br>-<br>-static void w83977tf_enable_serial(pnp_devfn_t dev, u16 iobase)<br>-{<br>-       pnp_enter_ext_func_mode(dev);<br>-        pnp_set_logical_device(dev);<br>- pnp_set_enable(dev, 0);<br>-      pnp_set_iobase(dev, PNP_IDX_IO0, iobase);<br>-    pnp_set_enable(dev, 1);<br>-      pnp_exit_ext_func_mode(dev);<br>-}<br></pre><p>To view, visit <a href="https://review.coreboot.org/20978">change 20978</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/20978"/><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: Iab8dd93663fc78ed0d8c6a5313bb6a1884d1a043 </div>
<div style="display:none"> Gerrit-Change-Number: 20978 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Keith Hui <buurin@gmail.com> </div>