aspeed/smc: Add dummy data register
commit9149af2a2d3609507959bb17b74a35c3cebc5f66
authorCédric Le Goater <clg@kaod.org>
Tue, 29 Jan 2019 11:46:05 +0000 (29 11:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 29 Jan 2019 11:46:05 +0000 (29 11:46 +0000)
tree23d670683114afb8f0be134f6c09987f90b0996c
parent597d6bb3e8a93c4c0670df93f07c321ae84d2930
aspeed/smc: Add dummy data register

The SMC controllers have a register containing the byte that will be
used as dummy output. It can be modified by software.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Message-id: 20190124140519.13838-4-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/aspeed_smc.c