Kconfig 939 B

123456789101112131415161718192021222324252627282930
  1. # Serial Port Driver
  2. menuconfig MTK_SERIAL
  3. tristate "MediaTek Serial Port Support"
  4. select SERIAL_CORE
  5. default y
  6. ---help---
  7. This selects MediaTek(R) internal UART driver.
  8. If you want to use MediaTek(R) internal UART driver, say Y or M here.
  9. If unsure, say N.
  10. config MTK_SERIAL_CONSOLE
  11. bool "MediaTek Console on Serial Port Support"
  12. depends on MTK_SERIAL=y
  13. select SERIAL_CORE_CONSOLE
  14. default y
  15. ---help---
  16. Say Y here if you wish to use MT6516 internal UART as the system
  17. console.
  18. You should alter the default console setting by kernel
  19. command line option "console=ttyMT0" or "console=ttyMT1".
  20. config MTK_SERIAL_MODEM_TEST
  21. bool "Support modem test"
  22. depends on MTK_SERIAL=y
  23. default n
  24. ---help---
  25. Say Y here is you want to enable modem test.
  26. After enabling this option, UART4 will be switched to modem side.
  27. Hence, the command line parameter should be also modified.
  28. This is for test purpose only.