src: add IS_ENABLED() around Kconfig symbol references

These are places that were missed on the first pass.

Change-Id: Ia6511f0325433ab020946078923bf7ad6f0362a3
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/20358
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Martin Roth 2017-06-25 11:50:58 -06:00
parent 0fa92b31b0
commit d3bb09d9f4
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
* Functions for accessing PCI configuration space with type 1 accesses
*/
#if !CONFIG_PCI_IO_CFG_EXT
#if !IS_ENABLED(CONFIG_PCI_IO_CFG_EXT)
#define CONFIG_CMD(bus, devfn, where) (0x80000000 | (bus << 16) | \
(devfn << 8) | (where & ~3))
#else

View File

@ -278,7 +278,7 @@ static int smbios_write_type0(unsigned long *current, int handle)
t->length = len - 2;
t->vendor = smbios_add_string(t->eos, "coreboot");
#if !CONFIG_CHROMEOS
#if !IS_ENABLED(CONFIG_CHROMEOS)
t->bios_release_date = smbios_add_string(t->eos, coreboot_dmi_date);
t->bios_version = smbios_add_string(t->eos,

View File

@ -21,7 +21,7 @@
#define call_tx(x) tx_byte(x, data)
#if !CONFIG_ARCH_MIPS
#if !IS_ENABLED(CONFIG_ARCH_MIPS)
#define SUPPORT_64BIT_INTS
#endif