summaryrefslogtreecommitdiff
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2017-09-06 19:51:26 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitfd1472b8e8fe9ad43d22ab7ad40d3ca0da847ce8 (patch)
treecc8378d8e407c308166caff38888123cd55c8e2b /drivers/tty/serial
parent16fa278f435062d2fb50aacd67cdc9e18c9627ee (diff)
MLK-17491-4 serial: fsl_lpuart: fix earlycon compatible string
"fsl,lpuart" is wrong and has never been used in our dts. Actually it should be "fsl,imx7ulp-lpuart". With this fixed, user can simply specify "earlycon" in bootargs to turn on early console. Fixes: 917aacd37919 ("MLK-13911-12 tty: serial: fsl: add earlycon support") Cc: Anson Huang <Anson.Huang@nxp.com> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/fsl_lpuart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 9da8a9acd614..d71bf1be3356 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2170,7 +2170,7 @@ OF_EARLYCON_DECLARE(lpuart, "fsl,vf610-lpuart",
lpuart_early_console_setup);
OF_EARLYCON_DECLARE(lpuart32, "fsl,ls1021a-lpuart",
lpuart32_early_console_setup);
-OF_EARLYCON_DECLARE(lpuart32, "fsl,lpuart",
+OF_EARLYCON_DECLARE(lpuart32, "fsl,imx7ulp-lpuart",
lpuart32_early_console_setup);
EARLYCON_DECLARE(lpuart, lpuart_early_console_setup);
EARLYCON_DECLARE(lpuart32, lpuart32_early_console_setup);