<p>Jonathan Neuschäfer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/25631">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">drivers/uart: Allow the 8250IO driver only on x86<br><br>The driver relies on I/O space access functions (inb, etc.), which are<br>only available on x86.<br><br>Rather than explicitly disallowing it on ARM, allow it only on x86.<br><br>TEST=Configure for RISC-V, and see that "Serial port on SuperIO" is not<br>available in the "Generic Drivers" menu anymore.<br><br>Change-Id: Ib8e8c402264afeba6dc098683c5464af6edb3ba3<br>Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net><br>---<br>M src/drivers/uart/Kconfig<br>1 file changed, 2 insertions(+), 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/31/25631/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/drivers/uart/Kconfig b/src/drivers/uart/Kconfig</span><br><span>index 54f591d..3738222 100644</span><br><span>--- a/src/drivers/uart/Kconfig</span><br><span>+++ b/src/drivers/uart/Kconfig</span><br><span>@@ -5,9 +5,9 @@</span><br><span> </span><br><span> config DRIVERS_UART_8250IO</span><br><span>       bool "Serial port on SuperIO"</span><br><span style="color: hsl(0, 100%, 40%);">- depends on !ARCH_ARM</span><br><span style="color: hsl(120, 100%, 40%);">+  depends on ARCH_X86</span><br><span>  default n if NO_UART_ON_SUPERIO</span><br><span style="color: hsl(0, 100%, 40%);">- default y if ARCH_X86</span><br><span style="color: hsl(120, 100%, 40%);">+ default y</span><br><span> </span><br><span> config DRIVERS_UART_8250IO_SKIP_INIT</span><br><span>        def_bool n</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25631">change 25631</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/25631"/><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: Ib8e8c402264afeba6dc098683c5464af6edb3ba3 </div>
<div style="display:none"> Gerrit-Change-Number: 25631 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer@gmx.net> </div>