hw/arm/raspi: Let class_init() directly call raspi_machine_init()
commit13c4e2c087924d62da006858baee20b1ffb44462
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 8 Feb 2020 16:56:41 +0000 (8 17:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Feb 2020 14:30:51 +0000 (13 14:30 +0000)
treeaec93d0a00e83ad0aa08f003e08c8d1303ee32e2
parentc318c66c67ba143cd32d709cb2eb20eaf8cb9f8f
hw/arm/raspi: Let class_init() directly call raspi_machine_init()

raspi_machine_init() access to board_rev via RaspiMachineClass.
raspi2_init() and raspi3_init() do nothing. Call raspi_machine_init
directly.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20200208165645.15657-10-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/raspi.c