diff options
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 315ea9916456..2adbed4e10f3 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig | |||
@@ -556,7 +556,7 @@ choice | |||
556 | 556 | ||
557 | config SERIAL_BFIN_DMA | 557 | config SERIAL_BFIN_DMA |
558 | bool "DMA mode" | 558 | bool "DMA mode" |
559 | depends on DMA_UNCACHED_1M | 559 | depends on DMA_UNCACHED_1M && !KGDB_UART |
560 | help | 560 | help |
561 | This driver works under DMA mode. If this option is selected, the | 561 | This driver works under DMA mode. If this option is selected, the |
562 | blackfin simple dma driver is also enabled. | 562 | blackfin simple dma driver is also enabled. |
@@ -599,7 +599,7 @@ config UART0_RTS_PIN | |||
599 | 599 | ||
600 | config SERIAL_BFIN_UART1 | 600 | config SERIAL_BFIN_UART1 |
601 | bool "Enable UART1" | 601 | bool "Enable UART1" |
602 | depends on SERIAL_BFIN && (BF534 || BF536 || BF537) | 602 | depends on SERIAL_BFIN && (BF534 || BF536 || BF537 || BF54x) |
603 | help | 603 | help |
604 | Enable UART1 | 604 | Enable UART1 |
605 | 605 | ||
@@ -612,18 +612,58 @@ config BFIN_UART1_CTSRTS | |||
612 | 612 | ||
613 | config UART1_CTS_PIN | 613 | config UART1_CTS_PIN |
614 | int "UART1 CTS pin" | 614 | int "UART1 CTS pin" |
615 | depends on BFIN_UART1_CTSRTS | 615 | depends on BFIN_UART1_CTSRTS && (BF53x || BF561) |
616 | default -1 | 616 | default -1 |
617 | help | 617 | help |
618 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | 618 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. |
619 | 619 | ||
620 | config UART1_RTS_PIN | 620 | config UART1_RTS_PIN |
621 | int "UART1 RTS pin" | 621 | int "UART1 RTS pin" |
622 | depends on BFIN_UART1_CTSRTS | 622 | depends on BFIN_UART1_CTSRTS && (BF53x || BF561) |
623 | default -1 | 623 | default -1 |
624 | help | 624 | help |
625 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | 625 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. |
626 | 626 | ||
627 | config SERIAL_BFIN_UART2 | ||
628 | bool "Enable UART2" | ||
629 | depends on SERIAL_BFIN && (BF54x) | ||
630 | help | ||
631 | Enable UART2 | ||
632 | |||
633 | config BFIN_UART2_CTSRTS | ||
634 | bool "Enable UART2 hardware flow control" | ||
635 | depends on SERIAL_BFIN_UART2 | ||
636 | help | ||
637 | Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS | ||
638 | signal. | ||
639 | |||
640 | config UART2_CTS_PIN | ||
641 | int "UART2 CTS pin" | ||
642 | depends on BFIN_UART2_CTSRTS | ||
643 | default -1 | ||
644 | help | ||
645 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | ||
646 | |||
647 | config UART2_RTS_PIN | ||
648 | int "UART2 RTS pin" | ||
649 | depends on BFIN_UART2_CTSRTS | ||
650 | default -1 | ||
651 | help | ||
652 | Refer to ./include/asm-blackfin/gpio.h to see the GPIO map. | ||
653 | |||
654 | config SERIAL_BFIN_UART3 | ||
655 | bool "Enable UART3" | ||
656 | depends on SERIAL_BFIN && (BF54x) | ||
657 | help | ||
658 | Enable UART3 | ||
659 | |||
660 | config BFIN_UART3_CTSRTS | ||
661 | bool "Enable UART3 hardware flow control" | ||
662 | depends on SERIAL_BFIN_UART3 | ||
663 | help | ||
664 | Enable hardware flow control in the driver. Using GPIO emulate the CTS/RTS | ||
665 | signal. | ||
666 | |||
627 | config SERIAL_IMX | 667 | config SERIAL_IMX |
628 | bool "IMX serial port support" | 668 | bool "IMX serial port support" |
629 | depends on ARM && ARCH_IMX | 669 | depends on ARM && ARCH_IMX |