From: Albert Aribaud <[albert.aribaud@free.fr]>
Date: Thu, 17 Jun 2010 14:07:01 +0000 (+0530)
Subject: Add Orion5x support to 16550 device driver
X-Git-Tag: v2025.01-rc5-pxa1908~20216^2~1
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B?a=commitdiff_plain;h=83142c112d30ee3da23b62387909d33db064bdc4;p=u-boot.git

Add Orion5x support to 16550 device driver

This patch provides access to the 16550-compatible
serial device of the Orion5x SoC.

Signed-off-by: Albert Aribaud <albert.aribaud@free.fr>
---

diff --git a/drivers/serial/serial.c b/drivers/serial/serial.c
index 8eda95cd3e..1073ac0ae9 100644
--- a/drivers/serial/serial.c
+++ b/drivers/serial/serial.c
@@ -30,6 +30,9 @@
 #ifdef CONFIG_KIRKWOOD
 #include <asm/arch/kirkwood.h>
 #endif
+#ifdef CONFIG_ORION5X
+#include <asm/arch/orion5x.h>
+#endif
 
 #if defined (CONFIG_SERIAL_MULTI)
 #include <serial.h>