summaryrefslogtreecommitdiff
path: root/src/console/init.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-23 16:02:28 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-02-11 11:32:20 +0000
commit5b14116a04b4b96d25f825bef8f34caf4bd51466 (patch)
treecb624faa671d14d6363d664722502b08a5e56c81 /src/console/init.c
parent371f04811e075d79741d130e2043ec8e19044dde (diff)
device/pci_early.c: Drop some guards
With PCI_DEV() always defined it is no longer necessary to exclude this code from building. Change-Id: I58a6348750d240aa6024599f7b1af1449f31e8ac Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31303 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/console/init.c')
-rw-r--r--src/console/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/console/init.c b/src/console/init.c
index 8aa7d7df68..7d1f31a38b 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -74,10 +74,8 @@ asmlinkage void console_init(void)
if (IS_ENABLED(CONFIG_DEBUG_CONSOLE_INIT))
car_set_var(console_inited, 1);
-#if IS_ENABLED(CONFIG_EARLY_PCI_BRIDGE)
- if (!ENV_SMM && !ENV_RAMSTAGE)
+ if (IS_ENABLED(CONFIG_EARLY_PCI_BRIDGE) && !ENV_SMM && !ENV_RAMSTAGE)
pci_early_bridge_init();
-#endif
console_hw_init();