diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2016-02-20 17:32:03 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-02-26 07:01:21 +0100 |
commit | 0e92bb010f8bd45b2543f2553a4d3c2f35dffc09 (patch) | |
tree | f4cf3e8be983087518a1261f5a4c24b40de61da1 /src/soc/intel/baytrail | |
parent | bfe07899e372ac41c0a6dd4efac25458f5d48c9c (diff) | |
download | coreboot-0e92bb010f8bd45b2543f2553a4d3c2f35dffc09.tar.xz |
tree wide: Convert "if (CONFIG_.*_TPM.*)" to "if (IS_ENABLED(...))"
Change-Id: Ib73abb0ada7dfdfab3487c005719e19f51ef1812
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Reviewed-on: https://review.coreboot.org/13779
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r-- | src/soc/intel/baytrail/romstage/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/romstage/romstage.c b/src/soc/intel/baytrail/romstage/romstage.c index 60146b5042..36682352cb 100644 --- a/src/soc/intel/baytrail/romstage/romstage.c +++ b/src/soc/intel/baytrail/romstage/romstage.c @@ -239,7 +239,7 @@ void romstage_common(struct romstage_params *params) else printk(BIOS_DEBUG, "Romstage handoff structure not added!\n"); - if (CONFIG_LPC_TPM) { + if (IS_ENABLED(CONFIG_LPC_TPM)) { init_tpm(prev_sleep_state == 3); } } |