]> code.ossystems Code Review - openembedded-core.git/commitdiff
uboot-extlinux-config.bbclass: Add baudrate in console bootparam
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 8 Jun 2018 14:03:30 +0000 (11:03 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2018 10:09:40 +0000 (11:09 +0100)
By default, we ought to use console="${console},${baudrate}" as
console bootparam as commonly it is left to be passed with the
bootargs.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/uboot-extlinux-config.bbclass

index 61dff14b7c037dd038cf1384aea774170ac9e6df..c65c421b60bd48062634956b14e5495e61b3cc74 100644 (file)
@@ -58,7 +58,7 @@
 #
 # The kernel has an internal default console, which you can override with
 # a console=...some_tty...
-UBOOT_EXTLINUX_CONSOLE ??= "console=${console}"
+UBOOT_EXTLINUX_CONSOLE ??= "console=${console},${baudrate}"
 UBOOT_EXTLINUX_LABELS ??= "linux"
 UBOOT_EXTLINUX_FDT ??= ""
 UBOOT_EXTLINUX_FDTDIR ??= "../"