hw/arm/spitz: Keep pointers to scp0, scp1 in SpitzMachineState
commitffe7f90698099f0f702154492df05cf6a14c6b62
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:44 +0000 (3 16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:44 +0000 (3 16:59 +0100)
tree15a11cb8ac1a815bf81e9a1f4661dfb1b2a33fe3
parent39854425d7bb4a8b95829ac50ab92ff338eb7851
hw/arm/spitz: Keep pointers to scp0, scp1 in SpitzMachineState

Keep pointers to scp0, scp1 in SpitzMachineState, and just pass
that to spitz_scoop_gpio_setup().

(We'll want to use some of the other fields in SpitzMachineState
in that function in the next commit.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-5-peter.maydell@linaro.org
hw/arm/spitz.c