aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/cpu/apollolake/pch.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/apollolake/pch.c')
-rw-r--r--arch/x86/cpu/apollolake/pch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/apollolake/pch.c b/arch/x86/cpu/apollolake/pch.c
index 39d6ad5ed4..a0f9b031de 100644
--- a/arch/x86/cpu/apollolake/pch.c
+++ b/arch/x86/cpu/apollolake/pch.c
@@ -23,7 +23,7 @@ static const struct pch_ops apl_pch_ops = {
.set_spi_protect = apl_set_spi_protect,
};
-#if !CONFIG_IS_ENABLED(OF_PLATDATA)
+#if CONFIG_IS_ENABLED(OF_REAL)
static const struct udevice_id apl_pch_ids[] = {
{ .compatible = "intel,apl-pch" },
{ }