diff options
author | Cédric Le Goater <clg@kaod.org> | 2023-06-07 06:39:36 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2023-09-01 11:40:04 +0200 |
commit | 8a211fa3b2189735177f3c529dabc8ebc37042fa (patch) | |
tree | 841d2d2d2cd898bb1aa37c4b2b2374023e71f54a /hw/ssi/aspeed_smc.c | |
parent | 243975c0553a61646e7c24beaa12f4451536ea6b (diff) | |
download | qemu-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