All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] serial: add skipping init option
@ 2019-03-22  7:20 Jun Nie
  2019-03-22  7:20 ` [U-Boot] [PATCH 2/2] imx: serial_mxc: skip uart initilization Jun Nie
  2019-03-22  7:55 ` [U-Boot] [PATCH 1/2] serial: add skipping init option Simon Glass
  0 siblings, 2 replies; 10+ messages in thread
From: Jun Nie @ 2019-03-22  7:20 UTC (permalink / raw)
  To: u-boot

add skipping init option to avoid corrupt data in console
if serial is already initilized when u-boot start its excution.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
 drivers/serial/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 887cd68..7aeaffb 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -459,6 +459,12 @@ config DEBUG_UART_NS16550_CHECK_ENABLED
 	  Note that this does not work for every ns16550-compatible UART and
 	  so has to be enabled carefully or you might notice lost characters.
 
+config UART_SKIP_INIT
+       bool "Skip UART initialization"
+       help
+         Select this if the UART you want to use for 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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-02  7:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-22  7:20 [U-Boot] [PATCH 1/2] serial: add skipping init option Jun Nie
2019-03-22  7:20 ` [U-Boot] [PATCH 2/2] imx: serial_mxc: skip uart initilization Jun Nie
2019-03-22  7:55 ` [U-Boot] [PATCH 1/2] serial: add skipping init option Simon Glass
2019-03-22  8:02   ` Jun Nie
2019-03-23  0:52     ` Simon Glass
2019-03-27  9:33       ` Lukasz Majewski
2019-03-27  9:55         ` Jun Nie
2019-03-30 21:18           ` Simon Glass
2019-03-30 21:19         ` Simon Glass
2019-04-02  7:17           ` Jun Nie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.