]> git.baikalelectronics.ru Git - kernel.git/commit
xen/arm: allow console=hvc0 to be omitted for guests
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 6 May 2015 14:14:22 +0000 (14:14 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 28 May 2015 11:23:11 +0000 (12:23 +0100)
commit4f47886109ab5541219401dd6a37ce36b75075f2
tree437072db2fc71ae9f0d60c71de2bf10055d97354
parentfe030f20c50738ca5ae633aef7eb294a48f4c660
xen/arm: allow console=hvc0 to be omitted for guests

From: Ard Biesheuvel <ard.biesheuvel@linaro.org>

This patch registers hvc0 as the preferred console if no console
has been specified explicitly on the kernel command line.

The purpose is to allow platform agnostic kernels and boot images
(such as distro installers) to boot in a Xen/ARM domU without the
need to modify the command line by hand.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
arch/arm/xen/enlighten.c