intel/apollolake: Fix incorrect config usage
This IS_ENABLED(XXX) line should've clearly been IS_ENABLED(CONFIG_XXX). This patch can fix that. However, I don't have (and don't plan to acquire) an affected system to test, so approve at your own risk (or let me know if I should just remove that check instead). Change-Id: I79a0fca65853798ee45c3779b437864ba3cf2b1e Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/31745 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
parent
c8aed48127
commit
175aa69639
|
@ -73,7 +73,7 @@ void soc_core_init(struct device *cpu)
|
|||
/* Clear out pending MCEs */
|
||||
/* TODO(adurbin): Some of these banks are core vs package
|
||||
scope. For now every CPU clears every bank. */
|
||||
if (IS_ENABLED(SOC_INTEL_COMMON_BLOCK_SGX) ||
|
||||
if (IS_ENABLED(CONFIG_SOC_INTEL_COMMON_BLOCK_SGX) ||
|
||||
acpi_get_sleep_type() == ACPI_S5)
|
||||
mca_configure(NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue