History

Revert "tty: serial: fsl_lpuart: drop EARLYCON_DECLARE"

This reverts commit a659652f6169240a5818cb244b280c5a362ef5a4. This broke the earlycon on LS1021A processors because the order of the earlycon_setup() functions were changed. Before the commit the normal lpuart32_early_console_setup() was called. After the commit the lpuart32_imx_early_console_setup() is called instead.

Michael Walle committed 6 years ago

Commit 0e28ed61 parent 35d46701 file · +2 −0Browse files

Unified · Split

drivers/tty/serial/fsl_lpuart.c+2−0
@@ -2390,6 +2390,8 @@ static int __init lpuart32_imx_early_console_setup(struct earlycon_device *devic · 2389 unmodified lines
23902390 OF_EARLYCON_DECLARE(lpuart, "fsl,vf610-lpuart", lpuart_early_console_setup);
23912391 OF_EARLYCON_DECLARE(lpuart32, "fsl,ls1021a-lpuart", lpuart32_early_console_setup);
23922392 OF_EARLYCON_DECLARE(lpuart32, "fsl,imx7ulp-lpuart", lpuart32_imx_early_console_setup);
2393+EARLYCON_DECLARE(lpuart, lpuart_early_console_setup);
2394+EARLYCON_DECLARE(lpuart32, lpuart32_early_console_setup);
23932395
23942396 #define LPUART_CONSOLE (&lpuart_console)
23952397 #define LPUART32_CONSOLE (&lpuart32_console)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t