Message ID | 20190215103658.8215-1-m.szyprowski@samsung.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | ARM: dts: exynos: Add stdout path property to Arndale board | expand |
On Fri, 15 Feb 2019 at 11:37, Marek Szyprowski <m.szyprowski@samsung.com> wrote: > > Add 'stdout-path' property to 'chosen' node instruct kernel which > serial driver should be used for kernel console/logs. This allows to > enable earlycon messages by adding just 'earlycon' parameter to kernel > command line. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > --- > arch/arm/boot/dts/exynos5250-arndale.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts > index b44f03ef3b27..e5ede6fadaea 100644 > --- a/arch/arm/boot/dts/exynos5250-arndale.dts > +++ b/arch/arm/boot/dts/exynos5250-arndale.dts > @@ -24,6 +24,7 @@ > > chosen { > bootargs = "console=ttySAC2,115200"; > + stdout-path = &serial_2; Let's get rid of bootargs then. If we need baud rate, then I guess phandle cannot be used and it would be: "serial2:115200n8" BR, Krzysztof > }; > > gpio_keys { > -- > 2.17.1 >
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index b44f03ef3b27..e5ede6fadaea 100644 --- a/arch/arm/boot/dts/exynos5250-arndale.dts +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -24,6 +24,7 @@ chosen { bootargs = "console=ttySAC2,115200"; + stdout-path = &serial_2; }; gpio_keys {
Add 'stdout-path' property to 'chosen' node instruct kernel which serial driver should be used for kernel console/logs. This allows to enable earlycon messages by adding just 'earlycon' parameter to kernel command line. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> --- arch/arm/boot/dts/exynos5250-arndale.dts | 1 + 1 file changed, 1 insertion(+)