aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/cpu/apollolake/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/apollolake/uart.c')
-rw-r--r--arch/x86/cpu/apollolake/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/cpu/apollolake/uart.c b/arch/x86/cpu/apollolake/uart.c
index 876fa592b8..a936243600 100644
--- a/arch/x86/cpu/apollolake/uart.c
+++ b/arch/x86/cpu/apollolake/uart.c
@@ -123,7 +123,7 @@ static int apl_ns16550_of_to_plat(struct udevice *dev)
return 0;
}
-#if !CONFIG_IS_ENABLED(OF_PLATDATA)
+#if CONFIG_IS_ENABLED(OF_REAL)
static const struct udevice_id apl_ns16550_serial_ids[] = {
{ .compatible = "intel,apl-ns16550" },
{ },