This series connects the AHCI SATA device to the ZynqMP
machine. It requires a restructure of the AHCI file to
make the AHCI state struct visible. It also requires a
small change to object_class_dynamic_cast() to return
NULL if the class doesn't have a type.
V2:
- Macroify the number of SATA ports
- Update the non-realise error_propagate() calls to
use error_abort instead.
Alistair Francis (4):
ahci: Seperate the AHCI state structure into the header
object.c: object_class_dynamic_cast return NULL if the class has no
type
xlnx-zynqmp.c: Convert some of the error_propagate() calls to
error_abort
xlnx-zynqmp: Connect the sysbus AHCI to ZynqMP
hw/arm/xlnx-zynqmp.c | 33 +++++++++++++++++++++------------
hw/ide/ahci.c | 13 -------------
hw/ide/ahci.h | 14 ++++++++++++++
include/hw/arm/xlnx-zynqmp.h | 3 +++
qom/object.c | 2 +-
5 files changed, 39 insertions(+), 26 deletions(-)