diff mbox series

ARM: dts: exynos: Add stdout path property to Arndale board

Message ID 20190215103658.8215-1-m.szyprowski@samsung.com
State Superseded
Headers show
Series ARM: dts: exynos: Add stdout path property to Arndale board | expand

Commit Message

Marek Szyprowski Feb. 15, 2019, 10:36 a.m. UTC
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(+)

-- 
2.17.1

Comments

Krzysztof Kozlowski Feb. 15, 2019, 11:01 a.m. UTC | #1
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 mbox series

Patch

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 {