From ed9a0b70f3546c64908646e4423a80968669cc84 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Sat, 7 Mar 2015 13:50:32 -0600 Subject: [PATCH] u-boot/serial: Only reference pl011 on ARM * This will likely change once we FDT. --- src/system/boot/platform/u-boot/serial.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/boot/platform/u-boot/serial.cpp b/src/system/boot/platform/u-boot/serial.cpp index 7fcee372a8..8a33fd3126 100644 --- a/src/system/boot/platform/u-boot/serial.cpp +++ b/src/system/boot/platform/u-boot/serial.cpp @@ -10,7 +10,9 @@ #include "serial.h" #include +#if defined(__ARM__) #include +#endif #include #include #include