aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPekka Enberg <penberg@iki.fi>2018-02-15 18:29:36 +0000
committerPeter Maydell <peter.maydell@linaro.org>2018-02-15 18:33:46 +0000
commitd9f8bbd8eb4e95db97cf02bd03af86a3d606f4f1 (patch)
treec6447912876e845f298f5ef723ed8b384eac2391 /include
parent57bb31568114023f67680d6fe478ceb13c51aa7d (diff)
bcm2836: Make CPU type configurable
This patch adds a "cpu-type" property to BCM2836 SoC in preparation for reusing the code for the Raspberry Pi 3, which has a different processor model. Signed-off-by: Pekka Enberg <penberg@iki.fi> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/bcm2836.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/arm/bcm2836.h b/include/hw/arm/bcm2836.h
index 76de1996af..4758b4ae54 100644
--- a/include/hw/arm/bcm2836.h
+++ b/include/hw/arm/bcm2836.h
@@ -25,6 +25,7 @@ typedef struct BCM2836State {
DeviceState parent_obj;
/*< public >*/
+ char *cpu_type;
uint32_t enabled_cpus;
ARMCPU cpus[BCM2836_NCPUS];