ssi: change ssi_slave_init to be a realize ops
commit7673bb4cd305637b37bd0c0b79dd3bf6deb55172
authorCédric Le Goater <clg@kaod.org>
Mon, 4 Jul 2016 12:06:37 +0000 (4 13:06 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 Jul 2016 12:15:22 +0000 (4 13:15 +0100)
treecdbde26ac2323bac0cf260941d585baad2056897
parentf4b99537f1caac9864e3e93ac5a980e5d62ece0f
ssi: change ssi_slave_init to be a realize ops

This enables qemu to handle late inits and report errors. All the SSI
slave routine names were changed accordingly. Code was modified to
handle errors when possible (m25p80 and ssi-sd)

Tested with the m25p80 slave object.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1467138270-32481-2-git-send-email-clg@kaod.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/spitz.c
hw/arm/tosa.c
hw/arm/z2.c
hw/block/m25p80.c
hw/display/ads7846.c
hw/display/ssd0323.c
hw/misc/max111x.c
hw/sd/ssi-sd.c
hw/ssi/ssi.c
include/hw/ssi/ssi.h