From d9f8bbd8eb4e95db97cf02bd03af86a3d606f4f1 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Thu, 15 Feb 2018 18:29:36 +0000 Subject: 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 Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- include/hw/arm/bcm2836.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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]; -- cgit 1.4.1