]> git.proxmox.com Git - mirror_qemu.git/commit
PPC: e500: Only create dt entries for existing serial ports
authorAlexander Graf <agraf@suse.de>
Wed, 4 Jun 2014 11:48:18 +0000 (13:48 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 27 Jun 2014 11:48:27 +0000 (13:48 +0200)
commit79c0ff2cae1f24cb7e041ac2dbdcc329d2a86ba2
tree22b3858cdc3775067ac8c6966cdafc82a054abab
parent9a321e92343891e30f6fe8bfaad40454ae358bfb
PPC: e500: Only create dt entries for existing serial ports

When the user specifies -nodefaults he can tell us that he doesn't want any
serial ports spawned by default. While we do honor that wish, we still create
device tree entries for those non-existent devices.

Make device tree generation depend on whether the device is actually available.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/e500.c