]> git.proxmox.com Git - mirror_qemu.git/commit
mac_newworld: add via machine option to control mac99 VIA/ADB configuration
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 12 Jun 2018 16:43:57 +0000 (17:43 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 16 Jun 2018 06:32:33 +0000 (16:32 +1000)
commitf1114c17eeda907d0a290f25f970d695fc3b16de
tree81c03033a4465aa8edc5fe69f18936cc8e4ed317
parent06fe3a5bf107e93a4478e9cb5ef306ca65a0dcc1
mac_newworld: add via machine option to control mac99 VIA/ADB configuration

This option allows the VIA configuration to be controlled between 3
different possible setups: cuda, pmu-adb and pmu with USB rather than ADB
keyboard/mouse.

For the moment we don't do anything with the configuration except to pass
it to the macio device (the via-cuda parent) and also to the firmware via
the fw_cfg interface so that it can present the correct device tree.

The default is cuda which is the current default and so will have no
change in behaviour.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/macio.c
hw/ppc/mac.h
hw/ppc/mac_newworld.c
include/hw/misc/macio/macio.h
include/hw/ppc/ppc.h