aboutsummaryrefslogtreecommitdiff
path: root/hw/ssi/aspeed_smc.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2023-06-07 06:39:36 +0200
committerCédric Le Goater <clg@kaod.org>2023-09-01 11:40:04 +0200
commit8a211fa3b2189735177f3c529dabc8ebc37042fa (patch)
tree841d2d2d2cd898bb1aa37c4b2b2374023e71f54a /hw/ssi/aspeed_smc.c
parent243975c0553a61646e7c24beaa12f4451536ea6b (diff)
downloadqemu-8a211fa3b2189735177f3c529dabc8ebc37042fa.zip
qemu-8a211fa3b2189735177f3c529dabc8ebc37042fa.tar.gz
qemu-8a211fa3b2189735177f3c529dabc8ebc37042fa.tar.bz2
hw/ssi: Introduce a ssi_get_cs() helper
Simple routine to retrieve a DeviceState object on a SPI bus using its CS index. It will be useful for the board to wire the CS lines. Cc: Alistair Francis <alistair@alistair23.me> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/ssi/aspeed_smc.c')
0 files changed, 0 insertions, 0 deletions