diff mbox

[1/2] ARM: dts: Enable earlycon stdout path for LogicPD torpedo

Message ID 20170522161346.10591-1-tony@atomide.com (mailing list archive)
State New, archived
Headers show

Commit Message

Tony Lindgren May 22, 2017, 4:13 p.m. UTC
As long as the kernel cmdline has "earlycon" in it, this allows
seeing debug messages earlier and does not require DEBUG_LL to
be enabled.

Cc: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Adam Ford May 22, 2017, 6:30 p.m. UTC | #1
On Mon, May 22, 2017 at 11:13 AM, Tony Lindgren <tony@atomide.com> wrote:
> As long as the kernel cmdline has "earlycon" in it, this allows
> seeing debug messages earlier and does not require DEBUG_LL to
> be enabled.

Thanks for doing that.  I was meaning to do that after I found it was
necessary for porting OMAP3 device tree stuff to U-Boot. I just got
distracted and forgot to do it.

>
> Cc: Adam Ford <aford173@gmail.com>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
Acked-by: Adam Ford <aford173@gmail.com>

> ---
>  arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> @@ -7,6 +7,10 @@
>  #include <dt-bindings/input/input.h>
>
>  / {
> +       chosen {
> +               stdout-path = &uart1;
> +       };
> +
>         cpus {
>                 cpu@0 {
>                         cpu0-supply = <&vcc>;
> --
> 2.13.0
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
--- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
@@ -7,6 +7,10 @@ 
 #include <dt-bindings/input/input.h>
 
 / {
+	chosen {
+		stdout-path = &uart1;
+	};
+
 	cpus {
 		cpu@0 {
 			cpu0-supply = <&vcc>;