ssi: Add slave autoconnect helper
commitb4ae3cfa57b8c1bdbbd7b7d420971e9171203ade
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Mon, 1 Oct 2012 02:34:37 +0000 (1 12:34 +1000)
committerPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Wed, 10 Oct 2012 01:13:32 +0000 (10 11:13 +1000)
tree08fc675a0ce8db85b5096792f85d3bfc01daaade
parentfcb5629d3eb208d84c0fe9aa1ef64a6af7de0139
ssi: Add slave autoconnect helper

Added helper function to automatically connect SPI slaves based on the QOM child
nodes of a device. A SSI master device can call this routine to automatically
hook-up all child nodes to its SPI bus.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi.c
hw/ssi.h
hw/xilinx_spi.c
hw/xilinx_spips.c