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)
commitf1dddd118c555508ce383b7262f4e6440927bdf4
tree437072db2fc71ae9f0d60c71de2bf10055d97354
parent5882bfef6327093bff63569be19795170ff71e5f
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