hw/arm/bcm2836: QOM'ify more by adding class_init() to each SoC type
commit34d1a4f591efd22ed7ff9c883f1328eca6b0741f
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 24 Oct 2020 17:01:20 +0000 (24 19:01 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 27 Oct 2020 11:10:44 +0000 (27 11:10 +0000)
tree3813e39dc56f1e8934bea22b85d35a4eb7164df9
parent58b350280e9782bf564bf55cf872edb8143a49a8
hw/arm/bcm2836: QOM'ify more by adding class_init() to each SoC type

Remove usage of TypeInfo::class_data. Instead fill the fields in
the corresponding class_init().

So far all children use the same values for almost all fields,
but we are going to add the BCM2711/BCM2838 SoC for the raspi4
machine which use different fields.

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