]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ARM: versatile: pass console setting to the kernel
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Nov 2013 09:33:49 +0000 (10:33 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 13 Jan 2014 08:46:11 +0000 (09:46 +0100)
The Versatiles come up with the primary UART set to ttyAMA0 at
38400 baud, and unless we pass this to the kernel it will assume
it is set to 9600 baud which will be quite awkward for the
terminal, let's try to be helpful and inform the kernel what
setting is used.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/configs/versatile.h

index 10738ac24be077a734c580c294a0b034b95b4e28..29c32fee5178060965cd87992c178ec7ccaad7b2 100644 (file)
 
 #define CONFIG_BOOTDELAY       2
 #define CONFIG_BOOTARGS                "root=/dev/nfs mem=128M ip=dhcp "\
-                               "netdev=25,0,0xf1010000,0xf1010010,eth0"
+                               "netdev=25,0,0xf1010000,0xf1010010,eth0 "\
+                               "console=ttyAMA0,38400n1"
 
 /*
  * Static configuration when assigning fixed address