<p>Martin Roth has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20358">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src: add IS_ENABLED() around Kconfig symbol references<br><br>These are places that were missed on the first pass.<br><br>Change-Id: Ia6511f0325433ab020946078923bf7ad6f0362a3<br>Signed-off-by: Martin Roth <martinroth@google.com><br>---<br>M src/arch/x86/pci_ops_conf1.c<br>M src/arch/x86/smbios.c<br>M src/console/vtxprintf.c<br>3 files changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/20358/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/arch/x86/pci_ops_conf1.c b/src/arch/x86/pci_ops_conf1.c<br>index 820744c..a92fd31 100644<br>--- a/src/arch/x86/pci_ops_conf1.c<br>+++ b/src/arch/x86/pci_ops_conf1.c<br>@@ -20,7 +20,7 @@<br>  * Functions for accessing PCI configuration space with type 1 accesses<br>  */<br> <br>-#if !CONFIG_PCI_IO_CFG_EXT<br>+#if !IS_ENABLED(CONFIG_PCI_IO_CFG_EXT)<br> #define CONFIG_CMD(bus, devfn, where)       (0x80000000 | (bus << 16) | \<br>                                   (devfn << 8) | (where & ~3))<br> #else<br>diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c<br>index 9721802..e2ee545 100644<br>--- a/src/arch/x86/smbios.c<br>+++ b/src/arch/x86/smbios.c<br>@@ -278,7 +278,7 @@<br>      t->length = len - 2;<br> <br>    t->vendor = smbios_add_string(t->eos, "coreboot");<br>-#if !CONFIG_CHROMEOS<br>+#if !IS_ENABLED(CONFIG_CHROMEOS)<br>  t->bios_release_date = smbios_add_string(t->eos, coreboot_dmi_date);<br> <br>         t->bios_version = smbios_add_string(t->eos,<br>diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c<br>index 5f37253..acf2f80 100644<br>--- a/src/console/vtxprintf.c<br>+++ b/src/console/vtxprintf.c<br>@@ -21,7 +21,7 @@<br> <br> #define call_tx(x) tx_byte(x, data)<br> <br>-#if !CONFIG_ARCH_MIPS<br>+#if !IS_ENABLED(CONFIG_ARCH_MIPS)<br> #define SUPPORT_64BIT_INTS<br> #endif<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/20358">change 20358</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/20358"/><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: Ia6511f0325433ab020946078923bf7ad6f0362a3 </div>
<div style="display:none"> Gerrit-Change-Number: 20358 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Martin Roth <martinroth@google.com> </div>