]> www.infradead.org Git - users/jedix/linux-maple.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)
committerElena Ufimtseva <elena.ufimtseva@oracle.com>
Wed, 12 Aug 2015 10:05:53 +0000 (06:05 -0400)
commitab6652e3b66c7bbb56f570a0b38d88a111ab4211
tree435e25341ea3435225de8299cececdc5685195f5
parent2ff5879f7f119e17c346cc0ea9b89348e1844efc
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>
(cherry picked from commit f1dddd118c555508ce383b7262f4e6440927bdf4)
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
arch/arm/xen/enlighten.c