mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
hw/ssi: Add a "cs" property to SSIPeripheral
Boards will use this new property to identify the device CS line and wire the SPI controllers accordingly. 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>
This commit is contained in:
parent
9bf9865c5e
commit
243975c055
2 changed files with 10 additions and 0 deletions
|
@ -64,6 +64,9 @@ struct SSIPeripheral {
|
|||
|
||||
/* Chip select state */
|
||||
bool cs;
|
||||
|
||||
/* Chip select index */
|
||||
uint8_t cs_index;
|
||||
};
|
||||
|
||||
extern const VMStateDescription vmstate_ssi_peripheral;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue