summaryrefslogtreecommitdiffstats
path: root/drivers/serial_xuartlite.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial_xuartlite.c')
-rw-r--r--drivers/serial_xuartlite.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/serial_xuartlite.c b/drivers/serial_xuartlite.c
index 3af150d423..fcd1593cb8 100644
--- a/drivers/serial_xuartlite.c
+++ b/drivers/serial_xuartlite.c
@@ -23,6 +23,9 @@
*/
#include <config.h>
+
+#ifdef CONFIG_MICROBLZE
+
#include <asm/serial_xuartlite.h>
/* FIXME: we should convert these to in32 and out32 */
@@ -70,3 +73,5 @@ int serial_tstc(void)
{
return (IO_SERIAL_STATUS & XUL_SR_RX_FIFO_VALID_DATA);
}
+
+#endif /* CONFIG_MICROBLZE */
OpenPOWER on IntegriCloud