]> git.ipfire.org Git - thirdparty/qemu.git/commit
pseries: Populate "/chosen/linux,stdout-path" in the FDT
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 13 Dec 2011 04:24:34 +0000 (15:24 +1100)
committerAlexander Graf <agraf@suse.de>
Thu, 12 Jan 2012 17:30:51 +0000 (18:30 +0100)
commit7a6d80e93cb461a985ffb64bc4d19dd5f726386b
treee8beb00bcda5d663eefd45bc3c49520a5372977c
parent447a3b347381162f9c2b1b7831643b6ee0e767ca
pseries: Populate "/chosen/linux,stdout-path" in the FDT

There is a device tree property "/chosen/linux,stdout-path" which indicates
which device should be used as stdout - ie. "the console".

Currently we don't specify anything, which means both firmware and Linux
choose something arbitrarily. Use the routine we added in the last patch
to pick a default vty and specify it as stdout.

Currently SLOF doesn't use the property, but we are hoping to update it
to do so.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
(cherry picked from commit 68f3a94c64bbaaf8c7f2daa70de1b5d87a432f86)
hw/spapr.c
hw/spapr_vio.c
hw/spapr_vio.h
hw/spapr_vty.c