Add support for Freescale's MXC serial terminals
authorDaniel Mack <daniel@caiaq.de>
Wed, 10 Jun 2009 07:59:03 +0000 (09:59 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 10 Jun 2009 18:00:59 +0000 (20:00 +0200)
This patch makes ttymxc[012] an option to choose for
BR2_TARGET_GENERIC_GETTY.

It also adds these ports to the generic device table and to securetty.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
target/generic/Config.in
target/generic/device_table.txt
target/generic/target_skeleton/etc/securetty

index cb7ef77d5967185dbc4610ea0ea28b3adb8e6d91..5f5110ca51e24c194c2d3647a28af9e7bd760e74 100644 (file)
@@ -107,6 +107,15 @@ config BR2_TARGET_GENERIC_GETTY_TTYSAC2
 config BR2_TARGET_GENERIC_GETTY_TTYSAC3
        bool "ttySAC3"
        depends on BR2_arm
+config BR2_TARGET_GENERIC_GETTY_TTYMXC0
+       bool "ttymxc0"
+       depends on BR2_arm
+config BR2_TARGET_GENERIC_GETTY_TTYMXC1
+       bool "ttymxc1"
+       depends on BR2_arm
+config BR2_TARGET_GENERIC_GETTY_TTYMXC2
+       bool "ttymxc2"
+       depends on BR2_arm
 config BR2_TARGET_GENERIC_GETTY_TTYUL0
        bool "ttyUL0"
        depends on BR2_powerpc
@@ -160,6 +169,9 @@ config BR2_TARGET_GENERIC_GETTY_PORT
        default "ttySAC1"       if BR2_TARGET_GENERIC_GETTY_TTYSAC1
        default "ttySAC2"       if BR2_TARGET_GENERIC_GETTY_TTYSAC2
        default "ttySAC3"       if BR2_TARGET_GENERIC_GETTY_TTYSAC3
+       default "ttymxc0"       if BR2_TARGET_GENERIC_GETTY_TTYMXC0
+       default "ttymxc1"       if BR2_TARGET_GENERIC_GETTY_TTYMXC1
+       default "ttymxc2"       if BR2_TARGET_GENERIC_GETTY_TTYMXC2
        default "ttyUL0"        if BR2_TARGET_GENERIC_GETTY_TTYUL0
        default "ttyUL1"        if BR2_TARGET_GENERIC_GETTY_TTYUL1
        default "ttyUL2"        if BR2_TARGET_GENERIC_GETTY_TTYUL2
index b6dd6b937331d00431e339b5ec8bee3b6337802c..a80863e4dbc351823663a6733bbc944c63221bbf 100644 (file)
@@ -77,6 +77,7 @@
 /dev/ttySAC    c       666     0       0       204     64      0       1       4
 /dev/ttyPSC    c       666     0       0       204     148     0       1       4
 /dev/ttyUL     c       666     0       0       204     187     0       1       4
+/dev/ttymxc    c       666     0       0       207     16      0       1       3
 
 # Input stuff
 /dev/input             d       755     0       0       -       -       -       -       -
index 0e7cf97cc5a1bf3117d8d32578f4e8fb8badf155..b25f4a5a9c5aab535a2de1ede6ad3a2d8d57dee1 100644 (file)
@@ -30,3 +30,6 @@ ttyCPM0
 ttyCPM1
 ttyCPM2
 ttyCPM3
+ttymxc0
+ttymxc1
+ttymxc2