]> rtime.felk.cvut.cz Git - l4.git/blobdiff - kernel/fiasco/src/lib/uart/arm/uart_imx.h
update
[l4.git] / kernel / fiasco / src / lib / uart / arm / uart_imx.h
index b5e594fce43672205a43e6190dc8b589b34284f3..e565434f7b923ebb517f2147ca6b403931482a1c 100644 (file)
@@ -1,5 +1,7 @@
 /*
- * (c) 2008-2009 Technische Universität Dresden
+ * (c) 2008-2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
+ *     economic rights: Technische Universität Dresden (Germany)
+ *
  * This file is part of TUD:OS and distributed under the terms of the
  * GNU General Public License 2.
  * Please see the COPYING-GPL-2 file for details.
@@ -14,7 +16,7 @@ namespace L4
   class Uart_imx : public Uart
   {
   public:
-    enum platform_type { Type_imx21, Type_imx51 };
+    enum platform_type { Type_imx21, Type_imx35, Type_imx51 };
     Uart_imx(int rx_irq, int tx_irq, enum platform_type type)
        : Uart(rx_irq, tx_irq), _base(~0UL), _type(type) {}
     bool startup(unsigned long base);
@@ -42,6 +44,13 @@ namespace L4
        : Uart_imx(rx_irq, tx_irq, Type_imx21) {}
   };
 
+  class Uart_imx35 : public Uart_imx
+  {
+  public:
+    Uart_imx35(int rx_irq, int tx_irq)
+       : Uart_imx(rx_irq, tx_irq, Type_imx35) {}
+  };
+
   class Uart_imx51 : public Uart_imx
   {
   public: