]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: dts: Define stdout-path property for exynos5250-spring
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Tue, 17 Mar 2015 15:31:33 +0000 (00:31 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 17 Mar 2015 15:31:33 +0000 (00:31 +0900)
The kernel can use as the default console a serial port if is defined
as stdout device in the Device Tree.

This allows a board to be booted without the need of having a console
parameter in the kernel command line.

Currently the Spring DTS has bootargs in the /chosen node and this is
kept since users that don't have a serial console on this board might
be using it to have the boot log shown in the display. This will have
more precedence than the stdout-path but it's fine since is only used
when CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND is enabled.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5250-spring.dts

index f02775487cd4d3d20925afb84da693f92ad13e1e..b9ec763a5602a06b0403cc611f872be27a33faa8 100644 (file)
@@ -25,6 +25,7 @@
 
        chosen {
                bootargs = "console=tty1";
+               stdout-path = "serial3:115200n8";
        };
 
        gpio-keys {