Message ID | 20141119110845.GG22224@bivouac.eciton.net |
---|---|
State | Accepted |
Commit | 9c7074da5ec64e1fd61df881ab291f75541ff2b0 |
Headers | show |
On 19 November 2014 at 11:08, Leif Lindholm <leif.lindholm@linaro.org> wrote: > As of Linux 3.15, the generic "stdout-path" property described by > ePAPR 1.1 is supported by the upstream kernel: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/of/base.c?id=676e1b2fcd9dbb47a59baac13d089621d22c68b8 > > ARM virt still sets the legacy linux,stdout-path. > Given that this step was added to ARM virt ~ 3 months after 3.15 was > released, could we simply replace it (patch below)? > Failing that, could we set both for now? Forgot to mention, but I applied this to master for 2.2 a little while back; thanks. -- PMM
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 78f618d..314e55b 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -389,7 +389,7 @@ static void create_uart(const VirtBoardInfo *vbi, qemu_irq *pic) qemu_fdt_setprop(vbi->fdt, nodename, "clock-names", clocknames, sizeof(clocknames)); - qemu_fdt_setprop_string(vbi->fdt, "/chosen", "linux,stdout-path", nodename); + qemu_fdt_setprop_string(vbi->fdt, "/chosen", "stdout-path", nodename); g_free(nodename); }