]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/devs/serial/generic/16x5x/v2_0/cdl/ser_generic_16x5x.cdl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / devs / serial / generic / 16x5x / v2_0 / cdl / ser_generic_16x5x.cdl
index 03ff3e18a618766c3a4a8e783514e679efb71e6a..610dea3502f911ccd4df52398c0cd08fb687e3ab 100644 (file)
@@ -76,6 +76,25 @@ cdl_package CYGPKG_IO_SERIAL_GENERIC_16X5X {
         puts $::cdl_header "#include <pkgconf/system.h>";
         puts $::cdl_header "#include CYGDAT_IO_SERIAL_GENERIC_16X5X_CFG";
     }
+    
+    cdl_interface CYGINT_IO_SERIAL_GENERIC_16X5X_CHAN_INTPRIO {
+            display     "Per channel interrupt priority support"
+            flavor      bool
+            description "
+                A platform should implement this interface if it supports
+                per channel interrupt priorities. If a platform implements
+                this interface it needs to provide an interrupt priority
+                value for each UART channel it supports."
+    }
+
+    cdl_option CYGPKG_IO_SERIAL_GENERIC_16X5X_XMIT_REQUIRE_PRIME {
+        display       "Transmission require priming"
+        flavor        bool
+        default_value 0
+        description   "
+            This option should be switched on when enabling THRE interrupt
+            does not generate interrupt unless bytes are posted to the FIFO."
+    }
 
     cdl_component CYGPKG_IO_SERIAL_GENERIC_16X5X_FIFO {
         display       "16x5x FIFO support"
@@ -94,6 +113,15 @@ cdl_package CYGPKG_IO_SERIAL_GENERIC_16X5X {
                 the RX interrupt occurs when a FIFO is used. (16550 and
                 above only), this may be after 1, 4, 8 or 14 characters."
         }
+
+       cdl_option CYGNUM_IO_SERIAL_GENERIC_16X5X_FIFO_TX_SIZE {
+           display       "16x5x TX FIFO size"
+           flavor        data
+           default_value 16
+           description   "
+               Configures the maximum number of bytes written to the
+               16x5x UART transmit FIFO when the TX interrupt occurs."
+       }
     }
             
     cdl_component CYGPKG_IO_SERIAL_GENERIC_16X5X_OPTIONS {