From 0e92bb010f8bd45b2543f2553a4d3c2f35dffc09 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 20 Feb 2016 17:32:03 +0100 Subject: tree wide: Convert "if (CONFIG_.*_TPM.*)" to "if (IS_ENABLED(...))" Change-Id: Ib73abb0ada7dfdfab3487c005719e19f51ef1812 Signed-off-by: Denis 'GNUtoo' Carikli Reviewed-on: https://review.coreboot.org/13779 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/intel/haswell/romstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/intel/haswell') diff --git a/src/cpu/intel/haswell/romstage.c b/src/cpu/intel/haswell/romstage.c index 6da7fd932e..9932a508e5 100644 --- a/src/cpu/intel/haswell/romstage.c +++ b/src/cpu/intel/haswell/romstage.c @@ -267,7 +267,7 @@ void romstage_common(const struct romstage_params *params) printk(BIOS_DEBUG, "Romstage handoff structure not added!\n"); post_code(0x3f); - if (CONFIG_LPC_TPM) { + if (IS_ENABLED(CONFIG_LPC_TPM)) { init_tpm(wake_from_s3); } } -- cgit v1.2.3