diff options
author | Julius Werner <jwerner@chromium.org> | 2019-03-04 18:21:50 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2019-03-06 01:15:10 +0000 |
commit | 175aa6963933f2f3162075ded3cfba5ded4c44aa (patch) | |
tree | 89273114843cfe78fa7717324fc958ff62b10e5a /src/soc/intel/apollolake/cpu.c | |
parent | c8aed4812759d50cd685ec14afded26a69ac5ff9 (diff) |
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>
Diffstat (limited to 'src/soc/intel/apollolake/cpu.c')
-rw-r--r-- | src/soc/intel/apollolake/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/cpu.c b/src/soc/intel/apollolake/cpu.c index d1c5f6f406..a08f1f0352 100644 --- a/src/soc/intel/apollolake/cpu.c +++ b/src/soc/intel/apollolake/cpu.c @@ -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); |