serial: lpuart: Fix several cosmetic issues
[oweals/u-boot.git] / drivers / serial / Kconfig
index 1fc287ee98ec83c4e8c952d65e40578faa0619b0..83068cfd50f4c53aac9f1a906602be22624d4b5f 100644 (file)
@@ -15,6 +15,26 @@ config REQUIRE_SERIAL_CONSOLE
          during serial port initialization (default y). Set this to n on
          boards which have no debug serial port whatsoever.
 
          during serial port initialization (default y). Set this to n on
          boards which have no debug serial port whatsoever.
 
+config SERIAL_PRESENT
+       bool "Provide a serial driver"
+       depends on DM_SERIAL
+       default y
+       help
+         In very space-constrained devices even the full UART driver is too
+         large. In this case the debug UART can still be used in some cases.
+         This option enables the full UART in U-Boot, so if is it disabled,
+         the full UART driver will be omitted, thus saving space.
+
+config SPL_SERIAL_PRESENT
+       bool "Provide a serial driver in SPL"
+       depends on DM_SERIAL
+       default y
+       help
+         In very space-constrained devices even the full UART driver is too
+         large. In this case the debug UART can still be used in some cases.
+         This option enables the full UART in SPL, so if is it disabled,
+         the full UART driver will be omitted, thus saving space.
+
 config DM_SERIAL
        bool "Enable Driver Model for serial drivers"
        depends on DM
 config DM_SERIAL
        bool "Enable Driver Model for serial drivers"
        depends on DM
@@ -107,6 +127,22 @@ config DEBUG_UART_APBUART
          will need to provide parameters to make this work. The driver will
          be available until the real driver model serial is running.
 
          will need to provide parameters to make this work. The driver will
          be available until the real driver model serial is running.
 
+config DEBUG_UART_PL010
+       bool "pl010"
+       help
+         Select this to enable a debug UART using the pl01x driver with the
+         PL010 UART type. You will need to provide parameters to make this
+         work. The driver will be available until the real driver model
+         serial is running.
+
+config DEBUG_UART_PL011
+       bool "pl011"
+       help
+         Select this to enable a debug UART using the pl01x driver with the
+         PL011 UART type. You will need to provide parameters to make this
+         work. The driver will be available until the real driver model
+         serial is running.
+
 endchoice
 
 config DEBUG_UART_BASE
 endchoice
 
 config DEBUG_UART_BASE
@@ -160,6 +196,12 @@ config DEBUG_UART_ANNOUNCE
          debug_uart_init()). This can be useful just as a check that
          everything is working.
 
          debug_uart_init()). This can be useful just as a check that
          everything is working.
 
+config DEBUG_UART_SKIP_INIT
+       bool "Skip UART initialization"
+       help
+         Select this if the UART you want to use for debug output is already
+         initialized by the time U-Boot starts its execution.
+
 config ALTERA_JTAG_UART
        bool "Altera JTAG UART support"
        depends on DM_SERIAL
 config ALTERA_JTAG_UART
        bool "Altera JTAG UART support"
        depends on DM_SERIAL
@@ -186,6 +228,12 @@ config ALTERA_UART
          Select this to enable an UART for Altera devices. Please find
          details on the "Embedded Peripherals IP User Guide" of Altera.
 
          Select this to enable an UART for Altera devices. Please find
          details on the "Embedded Peripherals IP User Guide" of Altera.
 
+config FSL_LPUART
+       bool "Freescale LPUART support"
+       help
+         Select this to enable a Low Power UART for Freescale VF610 and
+         QorIQ Layerscape devices.
+
 config SYS_NS16550
        bool "NS16550 UART or compatible"
        help
 config SYS_NS16550
        bool "NS16550 UART or compatible"
        help