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/northbridge/intel/sandybridge/romstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge') diff --git a/src/northbridge/intel/sandybridge/romstage.c b/src/northbridge/intel/sandybridge/romstage.c index d6135bd8ac..df0c5bbba5 100644 --- a/src/northbridge/intel/sandybridge/romstage.c +++ b/src/northbridge/intel/sandybridge/romstage.c @@ -113,7 +113,7 @@ void main(unsigned long bist) northbridge_romstage_finalize(s3resume); - if (CONFIG_LPC_TPM) { + if (IS_ENABLED(CONFIG_LPC_TPM)) { init_tpm(s3resume); } -- cgit v1.2.3