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>
This commit is contained in:
committed by
Stefan Reinauer
parent
bfe07899e3
commit
0e92bb010f
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user