2015-07-23 05:09:46

by Maxime Coquelin

[permalink] [raw]
Subject: [PATCH] ARM: dts: Use stdout-path in STM32F429 Discovery board

This patch replaces use of linux,stdout-path by stdout-path as per
"chosen" DT bindings documentation.

Doing that, the "console" argument is no more needed in kernel command
line.

Reported-by: Olof Johansson <[email protected]>
Signed-off-by: Maxime Coquelin <[email protected]>
---
arch/arm/boot/dts/stm32f429-disco.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts
index 8bd3de5..f0b731d 100644
--- a/arch/arm/boot/dts/stm32f429-disco.dts
+++ b/arch/arm/boot/dts/stm32f429-disco.dts
@@ -53,8 +53,8 @@
compatible = "st,stm32f429i-disco", "st,stm32f429";

chosen {
- bootargs = "console=ttyS0,115200 root=/dev/ram rdinit=/linuxrc";
- linux,stdout-path = &usart1;
+ bootargs = "root=/dev/ram rdinit=/linuxrc";
+ stdout-path = "serial0:115200n8";
};

memory {
--
1.9.1


2015-07-23 11:40:33

by Andreas Färber

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: Use stdout-path in STM32F429 Discovery board

Am 23.07.2015 um 07:09 schrieb Maxime Coquelin:
> This patch replaces use of linux,stdout-path by stdout-path as per

s/by/with/

> "chosen" DT bindings documentation.
>
> Doing that, the "console" argument is no more needed in kernel command
> line.
>
> Reported-by: Olof Johansson <[email protected]>
> Signed-off-by: Maxime Coquelin <[email protected]>
> ---
> arch/arm/boot/dts/stm32f429-disco.dts | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Other than that,

Reviewed-by: Andreas F?rber <[email protected]>

Regards,
Andreas

--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 N?rnberg, Germany
GF: Felix Imend?rffer, Jane Smithard, Dilip Upmanyu, Graham Norton; HRB
21284 (AG N?rnberg)