From 8ada1526df06cb50a82305e840a5181a3c65575f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 16 Nov 2012 13:34:48 -0800 Subject: Unify use of bool config variables e.g. -#if CONFIG_LOGICAL_CPUS == 1 +#if CONFIG_LOGICAL_CPUS This will make it easier to switch over to use the config_enabled() macro later on. Change-Id: I0bcf223669318a7b1105534087c7675a74c1dd8a Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1874 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/devices/pci_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices') diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c index 94f68ea1ab..e2a49402c9 100644 --- a/src/devices/pci_device.c +++ b/src/devices/pci_device.c @@ -663,7 +663,7 @@ int oprom_is_loaded = 0; /** Default handler: only runs the relevant PCI BIOS. */ void pci_dev_init(struct device *dev) { -#if CONFIG_PCI_ROM_RUN == 1 || CONFIG_VGA_ROM_RUN == 1 +#if CONFIG_PCI_ROM_RUN || CONFIG_VGA_ROM_RUN struct rom_header *rom, *ram; if (CONFIG_PCI_ROM_RUN != 1 && /* Only execute VGA ROMs. */ -- cgit v1.2.3